Form validation?
Form validation?
Out of context: Reply #5
- Started
- Last post
- 12 Responses
- fugged0
submit handler function should return false to prevent the form from submitting.
so in your handler function you need to test and see if the checkbox is checked. if so, return true - (and the for will submit) otherwise return false (and the form will be prevented from submitting)