Hide/Show button based on field value in UI Builder

LuLe Game
Tera Expert

Hi Community, I need your help on this. I have a requirement about hiding a button (Cancel) based on field (Status). When this field is "Submitted" value this button will appear in form otherwise will remain hidden. I donĀ“t know how to achieve this as I already read a lot of docs and similar threads but itĀ“s just not the same case and UI Builder is not that straightforward as intended. Can someone help with this, hopefully is something simple but I think it requires specialized knowledge. Thanks in advance. 

 

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

Hello

 

Please find the below  article with the solution:-

 

https://www.servicenow.com/community/in-other-news/ui-builder-component-visibility-logic/ba-p/227075...

 

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

 

Please mark my answer as correct based on impact 

Thanks for your help on this, however I already checked that documentation before and is not useful for my case. This requires specialized knowledge in this field from now on. For example what code (client script) is needed to make false the Client State parameter based on a value field (status) for that UI page. Screenshot below:

 

LuisArmando_0-1668609967988.png

Thanks