Hide options from sys choice table and ensure it is not visible in list view as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 12:35 AM
Hi All,
I have a requirement to disable few options from a choice field.
I am using 'g_form.removeOption('<<field name>>','<<Value>>') -on load client script to hide the choices on the form view and it works but how to ensure that those options are not visible/available on the list view as well?
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2023 01:39 AM
HI @swapnil_singh ,
You can't remove them but you can do work around without selecting them using OnCellEdit Client Scripts.
You can even do the ACL functionality to achieve but I would recommend OnCellEdit for your requirement.
Let me know if you need help in scripting.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 06:36 AM
Hi Basheer,
I tried using g_form.removeOption('<field name>','<value>'); in the oncellEdit client script but it didn't gave the expected outcome..can you help me with the script?
Regards