How to remove a choice from Multiple choice field in a catalog item?

Naveen Kumar
Tera Contributor

I am using this script - its working for selectbox but not for Multiple choice field.

g_form.removeOption('model', 'red');

 

How do I resolve this?

2 REPLIES 2

Ahmmed Ali
Mega Sage

Hello @Naveen Kumar  

 

I don't think it is feasible. You can inactivate the option entirely to remove it. If you want to remove it conditionally then I think you will need to user Select Box type variable.

 

Thank you,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

Kamil Smusz
Kilo Sage

hi @Naveen Kumar ,

 

You can use reference qualifier to limit available choices there. You will need script include for this.