in reply to Re: WWW::Mechanize, radio buttons, and clicking a named button
in thread WWW::Mechanize, radio buttons, and clicking a named button
But someone will sort that out for you.
Are you sure, in the meantime that you're reading the HTML correctly?
Radio buttons form a mutually-exclusive set of options, of course. So they all have the same name, but different values. For example:
So are you sure you're addressing the button correctly? I've never done radio buttons in WWW::Mech, but you obviously can't address them by name, as they all have the same name.<input type="radio" name="one_of_two_options" value="option_a"> <input type="radio" name="one_of_two_options" value="option_b">
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
|
|---|