Click to See Complete Forum and Search --> : validate a radio button


sunlover
07-09-2003, 08:35 PM
What is the code used to validate if a radio button has been selected? Drop downs are so much easier! Thanks.

Khalid Ali
07-09-2003, 08:44 PM
document.formName.radioGroup[index].checked
The above should work.

Radio buttons are named as in group so that an array is created and then access a particular element in the array to perform any processing on each radio button