UI policy was not working properly

Venkatesh48
Tera Contributor

Hi Team,

I have a requirement in the catalog variables

 

1.variable name : Operation ,Type: select Box , Values  - New, Update, Remove

2.User

3.Place

4.City

5.Address

6.Other details

 

If Operation is selected has "New" then place, city and address needs to be visible and mandatory true

If Operation is selected has "update" then place , city and address needs to be visible and non-mandatory.

If Operation is selected has remove no need to visible place, city, address

 

I am writing two UI policy for same fields but it was not working properly can you please suggest me if we have any better ways to complete this requirement.

 

I tried to give the order but in the RITM view place, city, address is not visible .

1 REPLY 1

Mark Manders
Mega Patron

If you can also share your ui policies and tell us what is happening when the options are chosen, we can assist. 

You could also use an onChange client script to make variables visible/mandatory, but that will take some scripting.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark