Hide variable field in an item

Sebastien C
Tera Expert

Hi,

 

I need to hide several variables from an item if a select box return a specific value.

My setup in attachment.

wrong result: even if I select Luxembourg in Front-End, Equipment variable doesn't disappear from the request.

 

Kind regards, 

 

1 ACCEPTED SOLUTION

You can use a Catalog UI Policy to hide a section in this way, as long as none of the variables in order after Container Start and before Container End are not mandatory.  Selecting Mandatory False on the UI Policy Action will make/ensure none of the variables in the section are mandatory, and will hide the entire section.

View solution in original post

6 REPLIES 6

You are welcome!

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

The reason being because you have made the variable mandatory in the variable itself.

 

Remove the mandatory from the variable level from varibale2 and control it from UI policy and it will work.

 

Please mark answer correct/helpful based on Impact.