- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 04:29 AM
Hi All,
Please help me , I won't able to abort the submission on submit client script.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 04:44 AM
Hi @ramancoder, I have made some changes in your script try now,
return false;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 04:38 AM - edited 09-19-2023 04:39 AM
Hi @ramancoder
You are using glideajax on onSubmit.
Either you use getXMLWait() method in onSubmit
OR
Use same code in onChange script may be on Requested for variable ,
store the result in g_scratchpad.
Write onSubmit script , get g_scratchpad value there and depending upon
g_scratchpad value retur true or false.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 04:44 AM
Hi @ramancoder, I have made some changes in your script try now,
return false;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 08:10 AM
Thanks @Vengateshwaran . Code is working fine.