Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and submitting the form, code as $agent->click('FrmButton');$agent->tick('checkboxname', 'value');
<table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="50%"> <input type="radio" value="USAGE CREDIT" na +me="CreditType" checked> Usage Credit</td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="50%"> <input type="radio" value="ACCT CREDIT" nam +e="CreditType"> Account Credit</font></td></tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="50%"> <input type="radio" value="PAYMENT" name=" +CreditType" > Payment</td><td width="50%"></td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td width="50%"> <input type="button" value="Submit" name=" +Frmbutton" ></td> </tr> </table>
20030718 Edit by Corion: Changed bold to code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Select a Radio button using WWW::Mechanize module
by Corion (Patriarch) on Jul 18, 2003 at 07:50 UTC | |
by Anonymous Monk on Jul 06, 2006 at 08:09 UTC |