Is there way to allow end users can add/remove the choice options for a particular field in a form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 07:02 AM
Hi All,
For one of the Scoped application, we have Contract summary form, In this form there is a field called " Project Name " -- This field is dropdown with the list of options.
Now the requirement is, Is it possible to allow end users can add/remove the options for this only particular field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 07:49 AM
Hi,
It more depends on the UI, on how you wanted to provide add/remove options.
You can add/remove the option from the dropdown using client script like this
g_form.removeOption("your_field_name",newValue);
g_form.addOption("your_field_name","yourValue","Label of that value");
Mark the comment as a correct answer and also helpful if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 08:21 AM
Hi,
Normally admins can add options to that field but is there a way for end users can add new options to that field?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2019 12:06 AM
Directly No. But with customizations like having a new table and providing write access on that table so that users can go to table and modify options, then its possible.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2019 09:19 AM
Hi,
For particular use cases where you wish a roled user to control the contents of a dropdown, we store those records in a custom table and allow the roled users to update the table. Any changes in the custom table are then reflected in the choice selection.
I assume this is a custom scoped application.
For regular updates of data, store those choices elsewhere is one method to do so.
Iain
Mark the comment as a correct answer and also helpful if it helps.