How to get rid of choice which is created automatically.

Tarasingh26
Tera Expert

Hi All,

 

I have choice field, one duplicate choice is automatically created . How to remove that newly created choice. That choice is also not in choice list. Please see blue colored choice in attachment which needs to be removed.

 

Thanks,

Tara Singh

1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @Tarasingh26 ,

Please refer to this link to clear out these values 

 

https://www.servicenow.com/community/developer-blog/beating-the-invalid-choice-blues/ba-p/2284314

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks

 

View solution in original post

2 REPLIES 2

Samaksh Wani
Giga Sage
Giga Sage

Hello @Tarasingh26 

 

You might have used script anywhere in the form for choice field. where you have used the label instead of name, you need to change like as shown below :-

 

g_form.setValue("time_constraint","Start on specific date");


with

g_form.setValue("time_constraint","start_on");

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Mohith Devatte
Tera Sage
Tera Sage

Hello @Tarasingh26 ,

Please refer to this link to clear out these values 

 

https://www.servicenow.com/community/developer-blog/beating-the-invalid-choice-blues/ba-p/2284314

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks