Saving a form without providing mandatory fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 10:33 AM
I have a field - "technical owner" on a form and whenever the technical owner clicks on save button , system should save the data and not check for the mandatory fields even when they are not entered.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2024 11:04 AM
Hi,
That seems to be a requirement you were given, but you haven't shared what you've tried thus far? What is working/isn't working, etc.
In any case, you'll most likely need to create an alternate save button that appears for this persona, instead of the normal save button, and set the script to ignore those mandatory fields, script examples here: https://www.servicenow.com/community/developer-articles/useful-glideform-client-side-api-methods/ta-...
Alternatively, you may also be able to handle this in an onSubmit client script using the same type of approach from above.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!