Hide/Show button based on field value in UI Builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 01:45 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-15-2022 07:45 PM
Hello
Please find the below article with the solution:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1113996
Please mark my answer as correct based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-16-2022 06:46 AM
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:
Thanks