in reply to form_name in WWW:Mechanize

Forms, when in well-formed webpages, have IDs and/or (depending on your definition of "well-formed") names.

Perhaps what fields are on the forms? will help. And, as author Andy Lester notes in the Mech documents, see also LWP.