email form, force user to check box before sending

B

Beauregard T. Shagnasty

hi, I have a check box like this:
http://img413.imageshack.us/img413/5167/untitledun8.png

How I can forbid the user to "submit" the form until they check that
box? Thanks.

Your server-side processor must check to see if it was done, and if not,
return to the page with all the other fields showing what was entered,
and appends a message that it wasn't checked. There is no foolproof
method of client-side coding that will do this.

Oh, you could add some JavaScript to check, but if the visitor has
JavaScript disabled, or unavailable perhaps due to a corporate firewall,
you still must check at the server.
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top