What are the other ways of adding Choice list values without using Question Choices?

rathikaramamurt
Giga Expert

Hi,

I want to add "Global" as last option along with the existing values in the following list:

find_real_file.png

I have checked how the existing values are added, with the Question Choices being empty.

find_real_file.png

Could anyone help on this?

Thanks,

Rathika.

1 ACCEPTED SOLUTION

anupama8
Tera Expert

Hi Rathika,



I guess it is referring to some   column in a table. or the other way is to add it through client script with the help of the function g_form.addOptions('field name','value','label')


In your case most probably its the first one.


There is a field 'Regional Identification' in your 'sc_req_item' table, if you go to this table and look for this field dictionary, you will see choices added there. You can add your option there so it will reflect in your current form too.



PS: Hit answered, like, Helpful or Correct depending on the impact of the response.


View solution in original post

2 REPLIES 2

anupama8
Tera Expert

Hi Rathika,



I guess it is referring to some   column in a table. or the other way is to add it through client script with the help of the function g_form.addOptions('field name','value','label')


In your case most probably its the first one.


There is a field 'Regional Identification' in your 'sc_req_item' table, if you go to this table and look for this field dictionary, you will see choices added there. You can add your option there so it will reflect in your current form too.



PS: Hit answered, like, Helpful or Correct depending on the impact of the response.


Hello Anupama,



Yes, You were correct!



I got it, as it was mandatory to add Choices to the Variable "Regaional Identification". The dictionay values added to 'sc_req_item' table, will only be available with options after the Catalog form is submitted in the created Requested item.



Thanks,


Rathika.