in reply to Re: inserting checkboxes into yes/no field in Access
in thread inserting checkboxes into yes/no field in Access

the code I'm using is
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $FORM{$name} = $value; } }
It seems to be pretty standard so my question was about how that stores the info form the checkboxes. I've never dealt with checkboxes since getting involved with perl so I wasn't sure how perl handled it. Changing to radio buttons is easy enough so I'll check into that.