Dang. I just can't remember the syntax to do this.
My form is named "form1"
My radio button group is named "contactMeBy"
E-mail: <input type="radio" name="contactMeBy" value="email">
Phone: <input name="contactMeBy" type="radio" value="phone" checked>
This line is in a function tied to the SUBMIT button:
formContactMe = (document.all.form1.contactMeBy[something in here?].value);
If you submit the form the value of the group contactMeBy will be the one which is selected.
The Request.Form("contactMeBy") will return "email" in case the email radio button is checked.
If you want to access the values of the radios from the group contactMeBy into JS, you'll have to use the indexes of the items from the group; like document.all.form1.contactMeBy.value refers to the value of the first radio in the group; the returned value will be "email". The document.all.form1.contactMeBy.value returns "phone".
You can loop through the items of the group using the length attribute of the group returning the number of children.
for (i = 0 ; i < document.all.form1.contactMeBy.length ; i++)
alert(document.all.form1.contactMeBy[i].value + " is " +document.all.form1.contactMeBy[i].checked);