Hi all, is there a way to stop form submit by adding a click event on

Hi all,

is there a way to stop form submit by adding a click event on the button?

thanks in advance....

OriginalPostID-88409

OriginalPostID-88409

  Discussion posts and replies are publicly visible

Parents
  • we have a form which has several tabs. we hope we the form validation fails, it can automatically jump to the error tab.
    we use the built-in failedValidation event to implement this. it works well under normal case. but when there is a confirmation on submit button, the failedValidation doesn't work.

    so i abandon the built-in 'Confirmation' and use asi.confirm instead.
    but there is a problem, if use clicks 'No', how can I stop form submit?
Reply
  • we have a form which has several tabs. we hope we the form validation fails, it can automatically jump to the error tab.
    we use the built-in failedValidation event to implement this. it works well under normal case. but when there is a confirmation on submit button, the failedValidation doesn't work.

    so i abandon the built-in 'Confirmation' and use asi.confirm instead.
    but there is a problem, if use clicks 'No', how can I stop form submit?
Children
No Data