Multiple UI policies on same variables - how do I combine policies with opposite effect on same variable?

zabrina
Mega Expert

For both ui policies, there are two variables that show. One variable however, is visible on one ui policy and not visible on the other. How can I combine these policies. Please see screenshots. 

11 REPLIES 11

Hi Ash, I would like to not have to use a script. The dates are showing okay on the item page, but not on the ritm/tasks. How can I use the policies?

Prasant Kumar 1
Kilo Sage

hi,

You can use UI policy script field to to set visible the field upon condition satisfied.

using script:-

if(condition){

g_form.setVisible('fieldName',true);

}

else{

g_form.setVisible('fieldName',false);

}

 

Or 

else you can use reverse If  check box to be checked to be visible on satisfying particular condition mentioned other wise not Visible.

 

Please I was able to solve your query please mark my answer correct and helpful.

Thanks & Regards,

Prasant Kumar Sahu