Jump to content
We've recently updated our Privacy Statement, available here ×

stop form submission on input control validation


jeffhunt4

Recommended Posts

For customized input controls, the on click event appears to be happening after the form submission event.

I have added validation for checking dates ( start <= end ).

This appears to work, alerts are displayed.

 

How do I stop the report generation?

None of the submit events in the custom jsp appear to be fired.

 

If the form submit has already happened, returning false and event.preventDefault does not stop the submission.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...