Hide field but make visible based on selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2023 03:20 PM
I have a category and subcategory field on the change form
Category field contains A, B, C on drop down
I want the subcategory to be hidden unless I select
When I seland I would like for this field to remain hidden
I can easily achieve this via a ui action but not sure how to get it done on the workspace
How can I achieve this
Currently it is working on backend of the form via ui action but does not work on the backend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2023 01:11 AM
Hi @_Alex ,
Your question is not so much clear, but if I able to decipher it, you can do it using OnChange client script.
g_form.setVisible("FIELD_NAME", true/false);
Put the above line of code based on the condition.
Please mark the answer as correct and helpful, if I was able to answer your query. It will be helpful for others who are looking for similar questions.
Thank you,
Santosh Poudel