![]() Preserved Topic: Forcing dots in Radio's before moving on... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Scotland |
![]() Hi all, |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() if (formname.radioname.checked) alert("You didn't check one");'' |
Bipolar (III) Inmate From: USA! USA! USA! |
![]() I've written a validation script which is great for stuff like this. You can use JavaScript to set up required fields or write it into the HTML itself if your browser standard supports some form of the DOM. code: <input type="radio" required="on" ... />
|
Maniac (V) Mad Scientist From: New California |
![]() If I'm reading what you want to do correctly, sonicsnail, it sounds like you should be using checkboxes instead of radio buttons. They work perfectly for a list of items where one or more need to be checked off as opposed to radio buttons that are supposed to allow you to choose just one from many choices. |
Bipolar (III) Inmate From: Scotland |
![]() Thanks for the input everyone!.. however, they've moved the goalposts, and the job is slightly different now... |
Bipolar (III) Inmate From: Scotland |
![]() |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() What's this? A traitor! Seize him! |