Record producer is submitting even after giving error message

Aajay123
Tera Contributor

I have a on submit client script which is having AJAX call. when i try to submit the form with false condition the code is throwing error message, but the form is submitting even after throwing error message. Any help on this.

Note: I used "return false;" to stop the submission.

Kind regards,

Ajay.

5 REPLIES 5

If you cant change the trigger(onsubmit to onchange) then only way to make it work would be to change the GlideAjax form Async to Synchoronous.

-Anurag