Not able to see the choices I add to a drop down field on the form

shruthi29
Kilo Contributor

Hi all,

I am facing an issue with the choices I add to a drop down field on the form.

I tried adding the fields in the following ways

        1.by right click on the field->dictionary->add choices.(I tried on list editor as well as on form).

        2.by right click on the field->configure choices-> add choices.

        3. by right click on the field->show choice list-> add choices.

When I save it, the choices disappear and they are not visible on the form as well.

But all the choices I added is visible in sys_choice table.

Kindly help me resolve this issue. Any help appreciated.

Thanks and Regards,

Shruthi

1 ACCEPTED SOLUTION

paramveer
Mega Guru

Hi Shruthi,



As i can see by screenshot Element name is "u_were_all_approvals_obtained_before_imp" while field name is "u_were_all_approvals_obtained_before_implementation". If you see the query condition in capture2, that is on ''u_were_all_approvals_obtained_before_implementation" while in choice list element is "u_were_all_approvals_obtained_before_imp".



Actually the problem is max length of "Element" field on Choice table is 40. that's why system automatically truncate the element value. To resolve the problem delete/deactivate the existing field and create the field again. while creating the field limit the name to lesser character(less then 40), like below :



find_real_file.png


Hope this will resolve your problem, in case of any assistance please let me know.


View solution in original post

7 REPLIES 7

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Shruthi,



Is the issue on your personal developer instance?


Fuji Problem with Adding Choices from Form Designer


I work on Fuji but this issue is not with my personal developer instance.


Hi Shruthi,



Please provide the screen shot of dictionary   form   of choice field. That will help us to troubleshoot the problem. Make sure all the choice values should inactive false in sys_choice table.



Regards,


Param


I am adding the choice for the particular field in capture1. Once I submit it, the next screen is capture2 where the choice i have entered is not visible and its not visible on the form as well. Capture 3 is the sys_choice table where u can see the choice entry for that field. Capture 4 is the dictionary form of the field.Capture1.PNGCapture2.PNGCapture3.PNGCapture4.PNG