variables read only

jean-pauldehaas
Tera Guru

Hi all,

 

i have a catalog item with a lot of variables, one of the variables is a radio button.

the radio button has a No & Yes option and if users select No first then populate a few variables and decide they need to select Yes it should make all the variables on the form(populated or not) Read only.

 

i did this via a ui policy run script but it only works for variables that are already populated not the empty ones.

 

anyone has a good way to do this ?