First I recommend you to start by checking if your form works in the browser with JavaScript disabled: remove all cookies for this site, disable JavaScript and try to submit your form.
If the problem is not in JavaScript you need to try to add button => ... to your code. Many sites expects x and y coordinates of the submit button you click:
to your code. Many sites expects x and y coordinates of the submit button you click:$mech->submit_form( with_fields => { "login_username" =>'username', "login_password" => 'password', "prefLanguage" => '00000000', }, button => "your_submit_button_name", );
In reply to Re: Seeking assistance with WWW::Mechanize Form Submission
by Gangabass
in thread Seeking assistance with WWW::Mechanize Form Submission
by tspang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |