Hi Burcu.

I wish Mechanize could handle javascript. It would make some things so much easier!

Based on your description, it sounds like either the input field is not named what you think it is, or for some reason, HTML::Form doesn't want you to address the field by name (are there limitations to the characters allowed in a form name?).

You can use $form = $mech->form_name($name) to manipulate the form object directly. This gives you more methods than Mechanize supports.

I would try the $input = $form->find_input method to scan through the input fields, then you can determine what names HTML::Form thinks are present or use the $input->value($new_value) method to set the field without using the name.

Hope this helps.

Best regards

Peter




Reply via email to