Skip to main content

Form validation? 1212 Responses

Last post: 2 years ago | Thread started: Feb 8, 10, 1:27 p.m.

RespondNew TopicDisable Images

Out of context: Response #5 [Feb 8, 10, 1:27 p.m.]

  • fugged

    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)

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel

Skip to main content