Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to hide Save and submit button in form

String
Kilo Sage

Hi Team ,

We create a custom form and need to hide the save and submit button ,Please guide 

below is the screen shot 

 

String_0-1691236919999.png

 

6 REPLIES 6

@String I tried this in my instance for scope application and it worked.

 

Other way to achieve this is by adding the condition in UI action. "Submit" & "Save" are global UI action.  Go to UI action list and filter only for Global table

 

SANDEEP28_0-1691243793687.png

 

Search for submit button 

 

SANDEEP28_1-1691243854406.png

 

Add below condition in condition field. Replace "<table name>" with you backend table name.

 

&& current.getTableName() != '<table name>'

 

SANDEEP28_2-1691244001335.png

Similary do for Save button

 

SANDEEP28_3-1691244191753.png

 

 

 If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

Rahul Talreja
Mega Sage

Hi @String , you need to create duplicate with same name and hide it...

Check the link below

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692665

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul