You are here: Re: html question (check box) « HTML « IT news, forums, messages
Re: html question (check box)

Posted by tcremer@gmail.com on 10/24/06 04:44

In the form tag add an onsubmit which calls a JavaScript function to
check whether your checkbox is actually checked. If it isn't return
false with a message of some kind. If it is checked, return true and
then (as others have said) check via ASP to ensure the box was checked.

Easy enough.. :-)


On Oct 22, 6:47 pm, lrb...@gmail.com wrote:
> Hi, I have a site with a built in 'contact us' form; how can I force
> the user to check a certain check box before allowing them to submit
> the form? This site is hosted on an ASP enabled godaddy server, but I
> figured there was some html or js function that would accomplish this.
> Thanks

 

Navigation:

[Reply to this 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

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