fame has asked for the wisdom of the Perl Monks concerning the following question:
ok so im having a little issue maybe someone can help me .. I have a script that form fills a site and then submits the info, but I cant figure out how to make the script submit.. on other sites i have had it work... many times but now its not working out with this particular site, maybe someone can give a little insight
<td class="BBFormButtonCell DonationButtonCell" colspan="3"> <input type="submit" name="PC1685$ctl00$btnNext" v +alue="Donate Now" onclick="(function(btn){var bDisableMe=true;__doPos +tBack('PC1685$ctl00$btnNext','');btn.disabled=bDisableMe;})(this);ret +urn false;" id="PC1685_ctl00_btnNext" class="BBFormSubmitButton Donat +ionSubmitButton" />
thats the clip from the site where it shows to submit for the donation, i have tried the following:
$agent->click('PC1685$ctl00$btnNext'); $agent->click_button(value => "Donate Now"); $agent->submit();
none of these seem to click/submit the form.. any info would be greatly appreciated. thanks...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: formfill script/click button
by daxim (Curate) on Aug 08, 2012 at 09:49 UTC | |
by fame (Initiate) on Aug 09, 2012 at 01:07 UTC | |
by fame (Initiate) on Aug 13, 2012 at 08:30 UTC |