Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: WWW::Mechanize, radio buttons, and clicking a named button

by Cody Pendant (Prior)
on May 04, 2006 at 03:13 UTC ( #547331=note: print w/replies, xml ) Need Help??


in reply to Re: WWW::Mechanize, radio buttons, and clicking a named button
in thread WWW::Mechanize, radio buttons, and clicking a named button

You definitely need to learn about CODE and READMORE tags.

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:

<input type="radio" name="one_of_two_options" value="option_a"> <input type="radio" name="one_of_two_options" value="option_b">
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.



($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://547331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2022-01-17 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (51 votes). Check out past polls.

    Notices?