How to make a string field dependent on a different field

BiancaK
Tera Expert

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.

BiancaK_0-1722930426867.png

 

 

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

BiancaK_0-1722930893283.png

 

How can this be achieved?

 

2 REPLIES 2

SN_Learn
Kilo Patron
Kilo Patron

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.

Ehab Pilloor
Mega Sage

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