in reply to Can't call method "value" on an undefined value at X??

I have seen this error in two cases with Mechanize:

  1. Form does not exist.
  2. If form exists then the field called does not exist.

A simple test would be the save the contents and check the form/fields in question do exists.

Regards,
Ashish
  • Comment on Re: Can't call method "value" on an undefined value at X??

Replies are listed 'Best First'.
Re^2: Can't call method "value" on an undefined value at X??
by Anonymous Monk on Aug 16, 2010 at 12:29 UTC
    Thank you all, a lot of good pointers here! :)

    Checking the HTML is very obvious, but nothing I came to think of .. so thanks. I agree that I should also check the request etc.

    Thanks :)