How to remove the -- None -- choice with a client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2016 10:48 PM
If you want to remove/hide the "-- None --" option in a choice list using a client script (for example if some users should be able to see the -- None -- option and some should not) you should use the following script line.
g_form.removeOption('impact', '', '-- None --')
- 4,162 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2018 09:07 AM
And conversely if you want certain users to be able to see different options you can use
g_form.addOption('<field>', '<value>', '<label>');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2019 04:55 AM
Hello,
To Remove --None-- option Using Client Script you can use.
g_form.removeOption('impact', '', '');
Thanks
Neeraj Sharma
Please mark Answer Helpful or correct accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2024 08:39 AM
where can i add the script