Preserved Topic: Forcing dots in Radio's before moving on... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Scotland |
posted 10-24-2001 18:58
Hi all, |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 10-24-2001 19:59
if (formname.radioname.checked) alert("You didn't check one");'' |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 10-25-2001 00:42
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 |
posted 10-25-2001 01:34
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 |
posted 10-25-2001 19:52
Thanks for the input everyone!.. however, they've moved the goalposts, and the job is slightly different now... |
Bipolar (III) Inmate From: Scotland |
posted 10-25-2001 22:07 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 10-25-2001 22:16
What's this? A traitor! Seize him! |