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.

what i try to do is :

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?...

OriginalPostID-88516

OriginalPostID-88516

  Discussion posts and replies are publicly visible