how to hide specific variable from multi row variable set when its used in another catalogue item

mounika32
Tera Contributor

how to hide specific variable from multi row variable set when its used in another catalogue item.

here the multi row vraible setis using in two catalogue items. I want to hide one varaible form multi row variable set when its used in te second catalogue item

4 REPLIES 4

Community Alums
Not applicable

Hi @Community Alums , I want to hide the variable from MRVS when its used in second catalogue item. so in the first catalogue item the variable should be visible 

Kavita_Bhojane
Tera Guru

@mounika32 ,

 

You can create onLoad client script on the catalog item wherever you want to hide variable in MRVS

 

if (g_form.getUniqueValue == 'sys_id of catalog item you want to hide') {
g_form.setMandatory('field name', false); //if variable is mandatory
g_form.setDisplay('field name', false);
}

Kavita_Bhojane
Tera Guru

@mounika32 ,

 

Does my answer helped you?

If yes, please mark my answer helpful and accept as a solution if it helped 👍✔️

 
Thanks,
Kavita Bhojane