Reply to Re: email form, force user to check box before sending

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация