Onchange client scipt how to abort form submission
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2017 10:38 PM
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.
Labels:
- Labels:
-
Problem Management
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 12:42 AM
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?