I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-03-25 09:01:40-07 by rajar in response to 2096
Re: submit_form() and checkboxes
Hi, Default value for a checkbox is 'on' and 'off' . So, you can simply try
mechanize->submit_form(form_name => 'environment_modify', fields => { 'envi +ronment_modify_add_host_essential_1' => 'on', }, );
"environment_modify_add_host_essential_1" is the checkbox and it is initially in 'off' state. When you turn it on it will be ticked. Thanks, Raja.
Direct Responses: Write a response