> as you can see, there is no value for the "Monday" > checkbox!!!!
Ack, that code is so 1993. Even HTML 2.0 (circa 1994) required a value attribute. > But yet the asp server code handles it properly. Your browser fills in an empty value when it encodes the GET or POST. The server code is just looking for the existance of the name, as unchecked checkboxes are not even present in the GET/POST data. > However, the mechanize "agent->tick" function requires that > some value be set!!! But when anything is inserted, "tick" > complains with: > > ==>>>Use of uninitialized value in string eq at > /usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 600. Use > of uninitialized value in string eq at > /usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 600. Use > of uninitialized value in concatenation (.) or string at > /usr/lib/perl5/site_perl/5.8.0/WWW/Mechanize.pm line 611. No > checkbox "Monday" for value "" in form at michiganstate.pl > line 67 <<<<<======= > > regardless of what i insert after "Monday" as a value, it dies... ..as the Mechanize documentation states it will. This prevents you from being able to report it as a bug, but maybe a "feature request"? > so my question.. how can this situation be resolved... what > should really be returned to the server... or am i hosed???!!!! Did you try $agent->field(Monday=>"foo")? Not sure if you can add a field in Mech that doesn't exist, but there may be a way to do it. Good luck. - Mark.