Saving a form without providing mandatory fields

gayatri38
Giga Guru

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. 

1 REPLY 1

Allen Andreas
Administrator
Administrator

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!