why does my UI policy not work

asd22
Tera Contributor

I want to hide a variable set when a check box is "false" aka not selected. 

asd22_0-1691571102925.png

 

but its not working, this above is my ui policy

4 REPLIES 4

Sohail Khilji
Kilo Patron
Kilo Patron

Hi 

 

Did you try : 

g_form. setDisplay('VARIABLE_SET_NAME',false); 

Make sure the field is not set mandatory. you'll need to handle the containers in the variable set with their own line of code to set their visibility.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

cant i just make a ui policy with if checkbox is true, then the set is visible?

Yes you can go to the VaraibleSet and configure this UI policy for this variableSet variables. Not on Catalog item level.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

AndersBGS
Tera Patron
Tera Patron

Hi @asd22 ,

 

IS the "finner_ikke_person" set to false or true be default when opening the catalogue item?

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/