Need to make a variable set read only

Chirag Jain3
Tera Expert

Hi,

 

I have 2 variable sets, if in the first variable set I have selected "Yes" in some variable then another variable set should get read only. Can someone please help me here?

 

Regards,

Chirag Jain

 

1 ACCEPTED SOLUTION

Mahesh23
Mega Sage

Hi Chirag Jain,

You can create UI Policy something like below mentioned the image

 

find_real_file.png

 

find_real_file.png

 

Regards,

Mahesh

View solution in original post

2 REPLIES 2

Musab Rasheed
Tera Sage
Tera Sage

Hi Chirag Jain,

Give name to variable sets and then try UI policy like if variable 1 is yes then in UI policy action select variable set name and if UI policy doesn't work then write client script specifying name of variable set to be made read only like below.

g_form.setReadOnly('vs_customer_information(name of variable set', true);

Please hit like and mark my response as correct if that helps
Regards,
Musab

Mahesh23
Mega Sage

Hi Chirag Jain,

You can create UI Policy something like below mentioned the image

 

find_real_file.png

 

find_real_file.png

 

Regards,

Mahesh