[SWLUG] Populating radio buttons

Toby Maxwell-Lyte Toby.Maxwell-Lyte at eazyweb.net
Fri Jun 23 12:45:10 UTC 2006


Neil Jones wrote:
> This is a simple one I'm sure but it is driving me crazy that I can't
> remember how to do it.
>
> I have a series of radio buttons on a form. I want to have them come up
> set so that I can unset the ones that are not relevant to me.
>   
If you are wanting to unset them then perhaps checkboxes might be better?

<input type="checkbox" name="option2" value="cheese" checked="checked">

Cheers,
Toby




More information about the Swlug mailing list