How to clear options and add options in a list field

seattmolsnod
Tera Contributor
We have choice field which field type is LIST (as we don't want to use a customer table but need to multiple choice). Is there way to clear the choice options and add new option in client script?
2 REPLIES 2

Dr Atul - LNG
Tera Patron

Hi @seattmolsnod 

 

Are you able to see any active or visible option in choice by which without deleting you can hide or remove .

Ankur Bawiskar
Tera Patron

@seattmolsnod 

you cannot use g_form.addOption() and g_form.removeOption() with this type of field

So your requirement cannot be done.

If my response helped please mark it correct and close the thread so that it benefits future readers.