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
[Back to original message]
|