Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Submitting a second form

by PerlSufi (Pilgrim)
on Jul 21, 2013 at 17:09 UTC ( #1045522=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Submitting a second form
in thread Submitting a second form

Hello, I would recommend getting the firefox add-on Firebug, inspect the page for the form's name in the HTML, and add it that way. for example:

$mech->submit_form ( form_name => 'form', fields => { modem => '1122.3344.5566', ip_select => '1.2.3.4'} );
In fact, looking at your code again to give you that example, problems may have been caused by not separating the field names with a comma? But I'm not sure.. see if that works for you, though..


Comment on Re^3: Submitting a second form
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-07-13 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (249 votes), past polls