Hello, when using:
print $q->checkbox({-name=>'mybox',-label=>'',-value=>'myvalue');
I get a checkbox without label surrounded by a <label> tag:
<label><input type="checkbox" name="mybox" value="myvalue" /></label>Is there a way to get rid of the label tag sorrounding the input tag still using CGI.pm ? I'd like to get this:
<input type="checkbox" name="mybox" value="myvalue" /><label for="mybox"></label>Thank you.
In reply to How to use CGI.pm to label a checkbox by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |