How to Show/Hide Options using g_form in client script.

Prabhu20
Tera Contributor

Hi,

Actually I need to show/hide options on one field based on another field.
I can achieve this using g_form.clearOptions() , addOption() & removeOption(). But, its actually removing or adding  options.

Is there any other way available to show or hide options other than the above specified. ?