I want a form to only be submitted if a checkbox is checked. This is what I have so far:
The function:
CODE
ÂÂ
The HTML-Form:
CODE
...
Checkbox
Now if the checkbox is not checked, the message "Checkbox not activated!" comes, but the form is still submitted. How can I prevent this?
The function:
CODE
ÂÂ
The HTML-Form:
CODE
...
Checkbox
Now if the checkbox is not checked, the message "Checkbox not activated!" comes, but the form is still submitted. How can I prevent this?