From: Kirrily R. <sk...@us...> - 2002-02-04 20:16:07
|
Update of /cvsroot/formmagick/formmagick/lib/CGI/FormMagick In directory usw-pr-cvs1:/tmp/cvs-serv28082/lib/CGI/FormMagick Modified Files: HTML.pm Log Message: Checkbox values now default to 1 if you don't set them to anything specifically. Index: HTML.pm =================================================================== RCS file: /cvsroot/formmagick/formmagick/lib/CGI/FormMagick/HTML.pm,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -r1.38 -r1.39 *** HTML.pm 2002/02/04 20:12:24 1.38 --- HTML.pm 2002/02/04 20:16:03 1.39 *************** *** 438,442 **** type => $info->{type}, name => $info->{id}, ! value => $info->{value}, checked => $info->{checked}, ); --- 438,442 ---- type => $info->{type}, name => $info->{id}, ! value => $info->{value} || 1, checked => $info->{checked}, ); |