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

RE: Checkbox, I agree by Anthony

Anthony
Mon Jul 07 08:53:20 CDT 2008

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

Re: Checkbox, I agree by Stefan

Stefan
Tue Jul 08 03:16:32 CDT 2008

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!" (-;
_____________________________________________


"Anthony" <Anthony@discussions.microsoft.com> wrote in message news:36C79112-3D82-4097-ACEE-BBA2FD004E40@microsoft.com...
| 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