How to make a string field dependent on a different field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 12:52 AM - edited 08-06-2024 12:55 AM
Good day
I have three fields.
The first field of type string with dropdown without none is the Category field = working fine.
The second field is the Sub Category field which is dependent on the category field = working fine.
But now I have created a custom string field which I want to keep as a free text field. But this field should still be dependent on the previous field which is Sub Category is not empty then this third field / description field should be visible and mandatory.
Because I am keeping the string field as type string and not selecting choice the dependent field tab is not available
How can this be achieved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 01:06 AM
Hi @BiancaK
You can try UI policies and UI policy action.
In UI policies, sub category is not empty and in UI policy action set the string variable 'visible to true'
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2024 01:30 AM
Hi @BiancaK,
You can show your description field for your particular requirements using UI Policy and UI Policy actions. You won't find dependent value as your field is not of choice type.
If you found this reply useful, please mark it as Solution and Helpful. This will help me and the community.
Thanks and Regards,
Ehab