How can we disable SUBMIT button on Service portal and ITIL view when we select particular value on catalog variable on a catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 04:31 AM
How can we disable submit button on Service Portal view as well as ITIL view when we select Particular value under catalog variable on the catalog form
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2022 02:31 AM
Did you get a chance to check the above link which has script to show/hide?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 04:41 AM
Also to add just check the checkbox named as "Apply to Requested Item" and "Apply to catalog task" and this script will be applied on ITIL Native view as well as shown below:
Hope this helps. Please mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 04:48 AM
Hi
Let me know if you have a follow up query but the solution suggested by me will work for you and other member has also propsosed similar thing which I have posted initally here.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 04:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 06:00 AM
Hi,
getReference with callback might not work as by the time the callback method is invoked the submission might happen
why not make the script run onChange of that select_group variable and show and clear the message and make it mandatory so that it allows submission only when value is valid
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader