You seem to be looking for radio_group()
But usually radio buttons are used to select exactly one out of a few alternatives, which makes no sense if you only have one alternative. If you are looking for an on/off-selection, checkbox() is better. There is also a visual difference and you probably will (slightly) confuse users of your webpage if you use a single radio button for an on/off-selection.
In reply to Re: CGI.pm single radio button
by jethro
in thread CGI.pm single radio button
by kosta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |