Based condition should not onSubmit the form else onSubmit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi Team,
I have a catalog item with an onSubmit client script that enforces some conditions. Currently:
The script enters the if block and shows the error message as expected.
However, when the conditions are not matched, the form does not submit as intended.
I have written the following script, but it’s not working properly. Could you please review and help fix it?
Thank you in advance for your support!
Thank you
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @Siva82
I'm assuming since the error message is displayed, it confirms that the script is entering the if condition and the GlideAjax call is working as expected. Why not put the highlighted code in screenshot above use else condition after if and check. not sure it will work but give it a try
Regrads,
Mohammed Zakir