Hi everyone,my question is..is this possible using a form conditionally insert question num into db.
if the user hit submit1 the value will be 1 and so on.
I have also code to check the correct answer
<%
If Request.Form("Submit1") = "Submit" Then
If Request.Form("RadioGroup1") = "b" Then
Msg1 = "Correct "
Else
Msg1 = "Incorrect.Try again "
End If
End If
%>
<%
If Request.Form("Submit2") = "Submit" Then
If Request.Form("RadioGroup2") = "c" Then
Msg2 = "Correct "
Else
Msg2 = "Incorrect.Try again "
End If
End If
%>
Logically I understand but how to write code I don't know
Here is my form
Questions:
1. If the site is not level what steps are taken to correct?
o Nothing
o Cut and Fill as necessary
o Build -up brick work
Submit1
2. On the site plan what do the initials "dp" stand for?
o Data point
o Deep pit
o Down-pipe
Submit2
Thank you very much for that
Nat
if the user hit submit1 the value will be 1 and so on.
I have also code to check the correct answer
<%
If Request.Form("Submit1") = "Submit" Then
If Request.Form("RadioGroup1") = "b" Then
Msg1 = "Correct "
Else
Msg1 = "Incorrect.Try again "
End If
End If
%>
<%
If Request.Form("Submit2") = "Submit" Then
If Request.Form("RadioGroup2") = "c" Then
Msg2 = "Correct "
Else
Msg2 = "Incorrect.Try again "
End If
End If
%>
Logically I understand but how to write code I don't know
Here is my form
Questions:
1. If the site is not level what steps are taken to correct?
o Nothing
o Cut and Fill as necessary
o Build -up brick work
Submit1
2. On the site plan what do the initials "dp" stand for?
o Data point
o Deep pit
o Down-pipe
Submit2
Thank you very much for that
Nat