g_form.setVisible("variable_name" , false) is not working on Multi row variable set(MVRS) in london version?

Shantharao
Kilo Sage

Hello All,

 

I have created one Multi Row Variable Set(MVRS) in my catalog item, OnLoad of the catalog form, I want to hide few variables on catalog form view but below two statements are not working

g_form.setDisplay("variable_name" , false)

g_form.setVisible("variable_name" , false)

 

Thanks

1 ACCEPTED SOLUTION

HI,

Please close this thread if i answered you question.

Thanks,
Ashutosh Munot

View solution in original post

3 REPLIES 3

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,

Visible and display is not supported for Multi Row Variable set.

Comments from docs:

You can define catalog client scripts, catalog UI policies, and catalog data lookups for a multi-row variable set. But, you cannot edit the visibility settings of its variables using catalog client scripts and catalog UI policies, that is, theg_form.setVisible() is not honored in catalog client scripts, and the Visible field of a catalog UI policy action is read-only and set to Leave alone.

 


Thanks,
Ashutosh munot

HI,

Please close this thread if i answered you question.

Thanks,
Ashutosh Munot

jbjhhuhuihn
Tera Contributor

i have created g_form.setvisible("short_description",false );

but it not working can u expalin me