bullyboy69
Technical User
Hi
I'm trying to make a form using frontpage and vbscript. I have an option group and want the value of the one selected to be passed through when they click on submit. Here it is as a cut down:
<html>
<table>
<body>
<tr>
<td bgcolor="#C0C0C0" class="redtext" width="471">
<p class="text"> </td>
<td bgcolor="#C0C0C0" class="redtext">
<p class="text"> </td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Excellent</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" value="Excellent"></td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Very Good</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Very Good"></td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Good</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Good"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
<p class="text">Average</td>
<td height="25" align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Average"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
Below Average</td>
<td height="25" align="center">
<input type="radio" name="Course_Administration" value="Below Average"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
Poor</td>
<td height="25" align="center">
<input type="radio" name="Course_Administration" value="Poor"></td>
</tr>
</table></div>
</body>
<input type = button name = "B1" value = "Click here" onclick = rr()>
<script language = vbscript>
sub rr
msgbox course_administration.value
end sub
</script>
</html>
Everytime I click on the button I get an error saying "Object doesn't support this property method: 'course_administration.value'
HELP!!!!!
Thanks
Nick
I'm trying to make a form using frontpage and vbscript. I have an option group and want the value of the one selected to be passed through when they click on submit. Here it is as a cut down:
<html>
<table>
<body>
<tr>
<td bgcolor="#C0C0C0" class="redtext" width="471">
<p class="text"> </td>
<td bgcolor="#C0C0C0" class="redtext">
<p class="text"> </td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Excellent</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" value="Excellent"></td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Very Good</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Very Good"></td>
</tr>
<tr>
<td width="471" class="text">
<p class="text">Good</td>
<td align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Good"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
<p class="text">Average</td>
<td height="25" align="center">
<p class="text">
<INPUT TYPE=RADIO NAME="Course_Administration" VALUE="Average"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
Below Average</td>
<td height="25" align="center">
<input type="radio" name="Course_Administration" value="Below Average"></td>
</tr>
<tr>
<td height="25" width="471" class="text">
Poor</td>
<td height="25" align="center">
<input type="radio" name="Course_Administration" value="Poor"></td>
</tr>
</table></div>
</body>
<input type = button name = "B1" value = "Click here" onclick = rr()>
<script language = vbscript>
sub rr
msgbox course_administration.value
end sub
</script>
</html>
Everytime I click on the button I get an error saying "Object doesn't support this property method: 'course_administration.value'
HELP!!!!!
Thanks
Nick