How to add a new item in a drop down list on the incident form

Brenda6
Kilo Contributor

Ho w do I add a new value or item in a drop down list for a field/column on the incident form.

4 REPLIES 4

Kedar Pittman
Giga Guru

Brenda,

Right click on the field you'd like to add more choices to and click configure choices.

find_real_file.png

asifnoor
Kilo Patron

There are 2 ways, you can do this.

1. Right-click the field and click on configure choices and there you can add a new choice.

2. If you want the option dynamically added and not permanent, then you can do with the help of onload client script.

g_form.addOption('field_name','value','label');

For example, if you want to add new value in state dropdown, you can do like this

g_form.addOption('state','100','New Option');

Mark the comment as a correct answer and also helpful if it answers your question.

Brenda6
Kilo Contributor

Thank you both so much.  I did also find another way to do it.  I went to a new form and selected table, then I added the new field to the choices list and gave it a number of the order I wanted it to be.  It did show up once added.  I will try it the other way also to keep my options open.  Thank you again. 

Okay.

Could you mark the comment as a correct answer so that the question is removed from the unanswered list.