Variables visibility on selecting a particular choice of a field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 09:20 PM
Requirement: When Onboarding Type field is "Offboarding/Termination Request" all the below fields should not be visible, when other choices are selected below fields should be visible.
Case 1: When "Onboarding type" field is "Offboarding/Termination Request" below fields are not visible.
Case 2: When "Onboarding type" field is other than "Offboarding/Termination Request" is selected all the below fields should be visible.
Solution:
Write a onchange client script on "Onboarding Type" field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 09:47 PM
Hello @shivatmika_19,
You can achieve this requirement using a Catalog UI Policy. Add a condition where, if the 'Onboarding Type' is not 'Offboarding/Termination Request,' the fields will be visible and mandatory.
Please mark my solution as Helpful and Accepted, if it works for you in any way!
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 10:24 PM
Hi @anshul_goyal,
In the above requirement, hiding approximately 30 fields is not ideal to achieve using a UI policy and UI policy actions.