Hide Options from Select Box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2018 07:34 AM
For the Create Incident form, I added Category as an option. I was able to add this option and it inserts into the Incident table. Success!
However, I only want a few categories available for our users to choose from in this form. We'll call these internal vs. external categories. How do I hide the internal categories?
After some research, I'm trying to use the onLoad function with the g_form.removeOption, but I can't seem to get it to work. This is my first time working with client scripts.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2021 10:58 AM
Hello to everyone, for this expose case I suggest to implement the following client script, you need to consider that the variable where you going to show the option needs to be empty 🙂 (thats the trick )