in reply to Re: WWW::Mechanize clicking checkboxes
in thread WWW::Mechanize clicking checkboxes

So you're saying with the method I'm applying the FIELDS I don't have to use mech->tick at all?
  • Comment on Re^2: WWW::Mechanize clicking checkboxes

Replies are listed 'Best First'.
Re^3: WWW::Mechanize clicking checkboxes
by Anonymous Monk on Mar 21, 2011 at 17:19 UTC
    That is what I said, and no, i'm not kidding, try it, you'll see
      Sorry for bugging you again. All the textboxes have the same name with a different value. They are all named post_category[] with values between 1 and 20ish. Can I assume I can just do 'post_category[]' => '1, 3, 4, 6' to make checkboxes in all the listed fields? Or is there some other way I have to add them?

        Maybe now is a good time to actually learn about HTTP and query parameters? Compare what your browser sends to what your script will send if you write it that way.

        Also take a look at ->set_fields.

        I concur wholeheartedly with Corion, Ovid's CGI Course is a good start

        Also, for every question like this you have, you should write a small program to answer it, like this