I'm writing an asp page that's using vbs, js and a access DB.
It's using VBS to build a table of 'clients' from the DB
The first field in each row is a radio/options button who's value is assigned the clientID from the DB
I need to make sure the user has selected one of the option boxes when they hit the Submit button.
But it's not working, I keep getting 'undefined' for frmAdmin.optClientInfo.value
I'm using similar code to validate text boxes and it works great.

Can someone show me the problem here?

Code:
<HEAD>
<title>Admin Page</title>>
<SCRIPT language="JavaScript">
function ValidateData()
{
	var sMsg = ""

// The next line is debugging test, but it returns 'undefined'
alert(frmAdmin.optClientInfo.value);

    if (frmAdmin.optClientInfo.value == "")
    {
		sMsg = "Please select an account."
    }
	else if (frmAdmin.optAction.value == "")
    {
		sMsg = "Please select an Action."
	}

    if (sMsg != "")
    {
		alert(sMsg);
        event.returnValue = false
    }
	    //else the form will be submitted automatically
}
</SCRIPT>

</HEAD>

' I'm skipping a lot of code here
' it's using VBS to build a table of 'clients' from an access DB
' the first field in each row is a radio/options button who's value is assigned the clientID from the DB

<FORM NAME="frmAdmin" METHOD="post" OnSubmit="ValidateData()" ACTION="AdminEdit.asp">

'This next line is nested inside a loop for each 'client'
<td><INPUT TYPE="Radio" NAME="optClientInfo" VALUE=<%=lClientId%>></td>