g_form.removeOption() is not working for a Catalog Client Script variable field

Saurabh8
Kilo Expert

Hi Team,

* I have created a variable for a record producer which is referring to "sys_choice" table and populating it in the front end

* I have created a onChange Catalog Client Script to remove couple of choices based what I select from the drop down, for the previous variable

Unfortunately the g_form.removeOption() method which I am using is not working at all!

Can someone please guide me as to what is the issue? I have also tried with g_sc_form.removeOption() but isn't working.

Attached is the screen shot for your reference.

Thanks and Regards

Saurabh

1 ACCEPTED SOLUTION

Glad! You can mark an answer as correct and helpful if it solved your query. So that it benefits future visitors as well.

 

Regards,
Sumanth

View solution in original post

11 REPLIES 11

Hi Harish,

Thank you for your input.  I just changed the type to "Select Box" and it worked.

Regards,

Saurabh

Great. Close the thread which ever answer helped you .

Regards
Harish