variable set fields

nameisnani
Mega Sage

Hi Team ,

 

Need help , 

 

The ' Short description ' and ' Description ' , are coming from variable Set .

 

And I want to make this variables not visible , when ever the [ Request category = production access to scdass ] 

 

nameisnani_1-1710134346733.png

 

Please provide me Client Script . 

 

NOTE - Please give Cilent Script only instead of UI plocy . Why because  there are some confusion's in UI Plociy . 

 

Please give Cilent script :

 

When ever user selects " Request category = production access to scdass "  >>>> short desp and desp , has to be not visible . 

 

Please give Cilent script :

26 REPLIES 26

Parth_Poriya
Tera Expert

Hi,

Here is the Client Script as per yours Requirement

Please write below script on OnChange() Type

 

if(g_form.getValue('request_category') == 'production access to scdass')

{

         g_form.setDisplay('short description',false);

        g_form.setDisplay('descripton',false);

}

Arun_Manoj
Mega Sage

Hi All,

I think @nameisnani  facing issue in the RITM variable editor variable the hidden fields are visible there. Above mention client scripts are working fine in form level. When submit the form ,RITM hidden variables are showing in the variable editor for corresponding RITM. In the Client script already checked Applied on Requested Item. where the variable set(short_desc, description) are mandatory by default. So, help to sort the issue.