Hide Variable set fields on catalog item form

Ankita9793
Tera Contributor

Hi All,

 

My variable set has 10 fields and I want to hide 5 of them, I tired creating UI policy but no luck. Please suggest!!

 

Ankita9793_0-1702896594285.png

 

TIA!

7 REPLIES 7

Hi,
Can you share the screen shot of UI policy?

 

 


Thanks and Regards,

Saurabh Gupta

In the screenshot only one UI Policy action available?


Thanks and Regards,

Saurabh Gupta

Aditya37
Tera Contributor

Hello @Ankita9793

 

If you want to hide five variables while loading the form then you can also go with the onLoad client script.
And also please verify the UI policies for the same variables. If the Same variables are used in different UI policies with the same action then you can change your UI Policies order.
 

Other wise If you use the variable set for that a specific catalog item then also you can use the onLoad catalog client script.


Just select the below check box. 
g_form.setVisible('variableName2', false);
g_form.setVisible('variableName2', false);

Aditya37_0-1702897668170.png

Please mark the answer as correct and helpful, If I answered your query. It will be helpful for others who are looking for similar questions.

Best Regards,