- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:32 AM
Hello,
Is there any way to hide the Submit button on a catalog item based on a condition without having to use DOM manipulation? I searched the Community and all solutions required DOM manipulation, which is not recommended in ServiceNow development.
Thanks,
Thi
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:41 AM
Hello @Thi Dinh Nguyen
As for as I know, it is not possible without DOM manipulation. If you want to avoid it, then you can consider the other workaround such as writing onSubmit client script to restrict the submission of the form.
But again, it depends on value it brings to your business. If it is must have, then you can use DOM manipulations. Just that for each upgrade, you will have to test the functionality.
Thank you,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:41 AM
Hello @Thi Dinh Nguyen
As for as I know, it is not possible without DOM manipulation. If you want to avoid it, then you can consider the other workaround such as writing onSubmit client script to restrict the submission of the form.
But again, it depends on value it brings to your business. If it is must have, then you can use DOM manipulations. Just that for each upgrade, you will have to test the functionality.
Thank you,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:43 AM
Hi @Thi Dinh Nguyen ,
Instead of disabling the button, you can think of restricting the form submission based on the conditions using onSubmit client script.
Please refer to this thread : https://www.servicenow.com/community/now-platform-forum/how-can-we-disable-submit-button-on-service-...
If my answer has helped with your question, please mark it as correct and helpful
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:52 AM
@Thi Dinh Nguyen There are no OOTB configurations available to hide Submit button on Catalog item or Record producers. I came across a similar requirement from my customer in the past and I had to use DOM manipulation to hide the submit button. It has been three releases so far and the solution still works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 12:59 AM
Thanks for all your help. Since the customer really stress about the hiding of the Submit button, I guess DOM manipulation is the only way then.