Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

None option on Choice List of List type fields

Pedro Nascimen1
Tera Contributor

Hi,

So I've created a new List field on incidents form.
I also set up some choices and said it should be a drop-down list without none, however the none option is still there.

As far as I could read none is not even a valid option, so I'm not sure how can I select it as shown in the screen shot attached.

Can anyone tell me if there is a way to remove that option and how can I do that?

8 REPLIES 8

David Stutter
Tera Guru

Did you set a valid default value?


Yes I did, it doesn't do anything.
Even if I set a default value that it isn't a choice, it just ignores it, doesn't add that to the choice list and the none is still there.


Please have a look into the dictionary attributes, maybe is there a strange attribute which allows null values.


Maybe a client script which adds the option.


Jordan Vignoni
Tera Guru

Hi Pedro,




Do your requirements state that the selections have to be shown using a List field?   I was able to get "-- None --" to not show on a form when creating it as a Choice field, adding the choices, selecting "Dropdown without -- None -- (must specify a default value)" and setting the default value (or choice).



Cheers,



Jordan