Quantcast
Viewing latest article 13
Browse Latest Browse All 27

Re: validate on a button click event rather than onSubmit

Thanks for all your help Alberto.

I have tried to replicate the essential parts of what you had in the jsfiddle example, but even with "submitViaIO: false" in the form config and the
repayment_calculator.get('srcNode').submit = function () {
alert('Pressed submit');
....
}
I am seeing the form get submitted and the alert does not show.

You can see the page with the form on here: https://www.chimneypotsonline.co.uk/ind ... owFormPage
(I'm only working on the lower form at the moment, there are two forms on the page.)
I must have overlooked something so I'll keep staring at the code.

Nick

Viewing latest article 13
Browse Latest Browse All 27

Trending Articles