in reply to Re: Not able to select the form with WWW::Mechanize::Firefox using form_with_fields()
in thread Not able to select the form with WWW::Mechanize::Firefox using form_with_fields()

Thanks for the reply.

The code works for another form in the same web page which has multiple inputs and options. But unfortunately I could not figure out the reason for which the same code does not work for the above mentioned form. Hence please let me know for any other work around for this issue by avoiding the function form_with_fields().

  • Comment on Re^2: Not able to select the form with WWW::Mechanize::Firefox using form_with_fields()

Replies are listed 'Best First'.
Re^3: Not able to select the form with WWW::Mechanize::Firefox using form_with_fields()
by Anonymous Monk on Jun 28, 2011 at 11:03 UTC

    Hence please let me know for any other work around for this issue by avoiding the function form_with_fields().

    If you don't want to use form_with_fields, then you can use any other form... function, your choice

      The given HTML form does not have a formId or form Name. Hence I cannot use any of those. And with form_number it returned "Current form:4 elements found for form number 1". Hence I am really blocked due to this issue.

        The given HTML form does not have a formId or form Name. Hence I cannot use any of those. And with form_number it returned "Current form:4 elements found for form number 1". Hence I am really blocked due to this issue.

        I don't understand how you are blocked. How is form_number not working for you?