List Type Field Choice Adding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:36 AM
Hi,
I just want to dynamically add and remove the choices of a field who's type us LIST on a incident form, On certain conditions. Also there is no table which is Refered in List field.
Thanks and Regards,
Pratap Singh Sisodia

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:49 AM
Hi @SumanthDosapati ,
You can see here is a field on Incident form named as test which type is LIST.
In that field dropdown choices I just want to add/remove new choices on some conditions.
Like Priority changes to p1 then I need to show 2 choices:-
1. A
2. B
And if Priority is P2 then I want to show only 1 choice:-
1. C
Notes :- There is no table that Is Referred in the Test field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2025 07:19 AM
You can create a list type field and add choices as in below screenshot
And then write an onChange client script on priority field. Sample script below
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {
return;
}
var arr = [];
if(newValue == 1)
{
arr = [];
arr.push('a', 'b');
}
else if(newValue == 2)
{
arr = [];
arr.push('c');
}
g_form.setValue('u_test', arr);
}
Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2025 11:10 PM
Did the above solution work? If yes, Accept the solution and mark as helpful to close the thread and benefit other readers.
Regards,
Sumanth