Results 1 to 2 of 2
Thread: calling a subprocedure
Sep 19, 2002, 04:48 #1
- Join Date
- Jul 2002
- 0 Post(s)
- 0 Thread(s)
calling a subprocedure
i am coding for an online survey (in VBScript). on the click of the submit button, i wish for a function to be called which will check to see have all fields been filled out and if not, a message box to appear. here is a snippet of the code:
If (Request("People") <> "") AND (Request.Form("Specify") <> "") Then
MsgBox "Please enter value for Q2"
<INPUT TYPE=RESET name="btnAdd" value="Reset" onClick="return confirm('Are you sure you wish to reset?');"><INPUT TYPE="submit" name="btnAdd" value="Submit" onClick = "Validate()">
however, the code is not working as the message box is not appearing...what am i doing wrong?
Sep 19, 2002, 05:10 #2