Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by mpettis (Beadle)
on May 04, 2006 at 02:23 UTC ( #547322=note: print w/replies, xml ) Need Help??


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

Hi All,

Sorry for the problem... my data::dumper was so large that the end was truncated. I am going to see if i can find some publicly-accessible webpage to put the dumper datastructure on and link to it instead of inline it.
  • Comment on Re: WWW::Mechanize, radio buttons, and clicking a named button

Replies are listed 'Best First'.
Re^2: WWW::Mechanize, radio buttons, and clicking a named button
by Cody Pendant (Prior) on May 04, 2006 at 03:13 UTC
    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
Re^2: WWW::Mechanize, radio buttons, and clicking a named button
by Kanji (Parson) on May 04, 2006 at 04:28 UTC

    What you've already posted is quite lengthy and rather discouraging to wade through if someone wants to help.

    Perhaps you could come up with a minimalist test case instead and post that?

    It'll make things much easier for people here to see what the problem may be, while the process of you striping out as many text fields, radio groups, etc. as you can while still getting the error may reveal the problem to you.

        --k.


Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2021-11-30 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?