G
Guest
I'm having an issue. I'm trying to make sure every question on a survey is
answered before the user goes to the next page. This is what my if...elseif
statement looks like:
Public Function ValidatePg1()
If IsNull(optTechCapabilities.Value) Then
MsgBox ("Please Answer Question 2")
ElseIf IsNull(optTechCurve.Value) Then
MsgBox ("Please Answer Question 3")
ElseIf IsNull(optEngtechSupport.Value) Then
MsgBox ("Please Answer Question 4")
Else
NextPage
End If
End Function
It will validate the first If, but once it is answered, it allows the user
to go to the next page instead of checking the other questions. Any ideas?
Thanks a bunch!
Seren
answered before the user goes to the next page. This is what my if...elseif
statement looks like:
Public Function ValidatePg1()
If IsNull(optTechCapabilities.Value) Then
MsgBox ("Please Answer Question 2")
ElseIf IsNull(optTechCurve.Value) Then
MsgBox ("Please Answer Question 3")
ElseIf IsNull(optEngtechSupport.Value) Then
MsgBox ("Please Answer Question 4")
Else
NextPage
End If
End Function
It will validate the first If, but once it is answered, it allows the user
to go to the next page instead of checking the other questions. Any ideas?
Thanks a bunch!
Seren