- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I have an order guide that contains multiple service requests. I created a client script on the Submit button to display a message after the user submits the request. However, the message is being triggered when the user clicks the Next button instead of after actual submission.
Here is the client script. Can someone help?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
your onSubmit is on catalog item and hence when you click Next it shows the message
You want message when Order Guide is about to be submitted?
You will have to clone the OOTB widget, make changes to that new widget, then add that new widget in your page
Too much customization, I won't recommend
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
it comes from this widget "SC Order Guide"
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @EricaT_
Could you please let us know what modifications you have done in widget to get your script run on "Submit"?