Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

how do I fill dynamic html forms with perl

by vladi.t (Initiate)
on Dec 18, 2010 at 06:19 UTC ( #877741=perlquestion: print w/ replies, xml ) Need Help??
vladi.t has asked for the wisdom of the Perl Monks concerning the following question:

Hello! I've been using WWW::Mechanize so far to fill html forms but recently I've ran against dynamic form (it uses 'onclick="submitForm"' and this function is defined in the code earlier), which WWW::Mechanize does not see (when I do $mechanize_obj->dump_forms it doesn't give me the dynamic form). Is there some way to deal with such forms? If I've provided not enough information pls ask and I'll post all the required data from the website here.

Comment on how do I fill dynamic html forms with perl
Replies are listed 'Best First'.
Re: how do I fill dynamic html forms with perl
by marto (Bishop) on Dec 18, 2010 at 07:52 UTC
      Thanks a lot I've managed to do that after reading the links you gave me. Finally I've captured the POST request and constructed the one I needed on the basis of the original. Thanks for the help again!
Re: how do I fill dynamic html forms with perl
by Anonymous Monk on Dec 18, 2010 at 07:09 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://877741]
Approved by Marshall
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2015-12-01 02:08 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls