Checkbox, I agree

A

Anthony

I am trying to have a checkbox form on a webpage created in frontpage 2002,
the database I am using is Access 2002. The checkbox is an "I agree"
checkbox, I want if the checkbox is checked gotoPage " Reg.asp", Else if not
checked gotoPage "Error.asp", and record the checkbox in the database.

Can anyone help......

Thanks

Anthony
 
A

Anthony

Sorry one more thing all this will be done by hitting the submit button on
the form....

Thanks
 
S

Stefan B Rusynko

Assign your check box field (named say: agreeBox ) a value ( say:YES )
Then at the top of the form processing page Reg.asp use

<%
If Request.Form("agreeBox")<>"YES" Then Response.Redirect "Error.asp"
%>



_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Sorry one more thing all this will be done by hitting the submit button on
| the form....
|
| Thanks
|
| "Anthony" wrote:
|
| > I am trying to have a checkbox form on a webpage created in frontpage 2002,
| > the database I am using is Access 2002. The checkbox is an "I agree"
| > checkbox, I want if the checkbox is checked gotoPage " Reg.asp", Else if not
| > checked gotoPage "Error.asp", and record the checkbox in the database.
| >
| > Can anyone help......
| >
| > Thanks
| >
| > Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top