Require field to be filled in before submitting

  • Thread starter Thread starter dizzydee
  • Start date Start date
D

dizzydee

I have FP 2002 and I've created a registration form. At the bottom of it I
have a check box that the customer must check saying that they agree to the
terms of the registration. How to I make sure that the check box is checked
by the customer before it can be submitted? I right clicked on the checkbox
and selected form field properties and can't find any "validation" option.
 
Just an idea
Use a drop down with I do not agree and I agree


<!--webbot bot="Validation" S-Display-Name="Some message here"
B-Value-Required="TRUE" B-Disallow-First-Item="TRUE" -->

<select size="1" name="SomeDropDownName">
<option value="I do not agree">I do not agree</option>
<option value="I agree">I agree</option>
</select>
 
I use a text box where the user must type the word YES in all caps. Then using Classic ASP /
VBScript, server-side, I check to be sure that YES has been entered.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
http://www.Ecom-Data.com
==============================================
 
you could check onsubmit

<form onsubmit="if(!this.form.agree.checked)alert('you must agree');return
false;">
I agree <input type="checkbox" name="agree">

Cheers,
Jon
 
Back
Top