Onchange client scipt how to abort form submission

sujannag
Giga Contributor

I have a due date field In my problem form.

I wish to validate the due date on my form and show an field error message ( which I wrote in on change client script) . and my user should not be allowed to submit the form. What would be the peiece of the code that I should write in my onchange client script. Thanks.

5 REPLIES 5

Hey Sujan,



The code I provided you earlier could be used in an OnChange Client Script. You have to make some adjustments to it though. Try that and let me know, if that solves your issue.


Also, what is your SI returning?