in reply to Re^2: WWW::Mechanize with <SELECT> and radio button
in thread WWW::Mechanize with <SELECT> and radio button

The reason I suggested not filling out the hidden params is to avoid transcription errors. Unless you have a reason to change ID to 2, I'd just leave that alone and mech will carry your ID over for you.

-Paul

  • Comment on Re^3: WWW::Mechanize with <SELECT> and radio button

Replies are listed 'Best First'.
Re^4: WWW::Mechanize with <SELECT> and radio button
by Finch (Initiate) on Oct 23, 2007 at 20:53 UTC
    I didn't know that WWW::Mechanize takes care of hidden fields. Thanks for that hint.
    Regarding my problem:
    Editing my code made me notice that I twisted two digits in the value of the <Select>-field:
    1198 instead of 1189
    Since mech couldn't find that value I guess it just went on with the predefined ones.

    Thanks for your help,
    Finch.