|
Posted by Beauregard T. Shagnasty on 10/04/06 18:47
lrbtav@gmail.com wrote:
> 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.
--
-bts
-Motorcycles defy gravity; cars just suck
Navigation:
[Reply to this message]
|