I have been trying to use Snoopy to submit a form that uses check boxes. I
have found that in the target page, the $_Post data for a form with check
boxes has a part that is submitted as an array with all of the items that
have their boxes checked. I have tried to include an array in
$submit_vars, but it does not seem to form the $postdata in Snoopy
properly.
With a $submit_vars ["comments"] = array ("pet" => "dog");
Or $submit_vars ["comments"][“pet”] = "dog";
The resulting $postdata contained comments[]=dog& which appears to
have lost the array key.
I am not sure what it should look like when an array is being passed but I
was able to get the form to work by doing the following:
$submit_vars ["comments[pet]”] = "dog";
However, the $postdata contained comments%5Bpet%5D=dog&
This does not seem pretty but it did work to submit the check box form.
Nobody/Anonymous
None
None
Public