Show/Hide fields using UI Policy

tiyasa
Giga Expert

I have a multiple choice variable and need to show/hide different fields based on the value of the Variable. Currently, there are 2 values options. Created the UI policies

Created the UI policies and set the visibility per requirements. The problem is upon switching between these values, it does not toggle at all. It just sits as it would at load.

Originally, I had a client script managing the toggling of scripts, but upon deploying to other environments, encountered an issue with the order or processing the load and change scripts. So I am migrating to UI Policies.

Any suggestions?

Thanks,

~T

1 ACCEPTED SOLUTION

Ah just found the problem. I had one more onChange Client Script there which was clearing the fields when the Variable option was changed. I disabled it and it started working.



Any suggestions on how I can put that feature back?


View solution in original post

7 REPLIES 7

Andrew_XU
Tera Contributor

Dear tiyasa:



Can you tell me how to disable it?


You can just make the Active Checkbox unchecked to stop executing the particular UI Policy, Client Script etc.


I need input "caller_id.phone" the this form name


but still auto cut "." ,so I want disable field limit.


How to do it?



find_real_file.png


find_real_file.png