fields usrchoices which repeat depends upon the data
recordsets....Thanks
<script language="JavaScript"><!--
function validating(validate) {
if (form.usrchoices.selectedIndex == 0) {
alert('Please select all Questions');
document.getElementById("validate").reset();
return false;
}
return true;
}
//--></script>
<form action="submitsurvey.asp" method="post" name="validate"
id="validate" onSubmit="return validating()">
<% Do while Recordset_questions.EOF %>
<select name="usrchoices" id="usrchoices">
<option value="" selected>Select Choices</option>
<option value="Y">Yes</option>
<option value="N">No</option>
<option value="IDK">I Dont know</option>
</select>
<%Loop%>
</form>
--
You received this message because you are subscribed to the Google Groups "JavaScript Forum" group.
To post to this group, send email to javascript-information@googlegroups.com.
To unsubscribe from this group, send email to javascript-information+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javascript-information?hl=en.
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.