-- None -- option gets added in a choice list. How do disable this

jayjay
Tera Contributor

I have a choice list from which i can choose multiple options.  However when I am able to add the " None" option also to the selected options.

find_real_file.png

Subsequently, when i submit the form the "None"  option also gets submitted. How do make sure that when  this?

find_real_file.png

My Requirement needs "Dropdown with None". Can anyone help with this?

Thanks! 

 

11 REPLIES 11

Glide_list with choice option, it changes it to a dropdown instead of lookup.

-Anurag

HI,

Yes i know, i am just getting it confirmed.

Thanks,
Ashutosh

That is right it is a glide list field

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

check the official documentation below:

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/field-administrat...

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

Remove the None option from a choice list

You can remove the None option from a choice list if it is not necessary.

Before you begin

Role required: personalize_dictionary

Procedure

  1. Navigate to a form where the field appears.
  2. Right-click the field label and select Configure Dictionary.
  3. Change the Choice field value to Dropdown without -- None -- (must specify a default value).
    Choice without none
  4. Ensure that the Default field is populated to determine which choice is displayed by default.
    Note: If the field is dependent on another field, the -- None -- option remains available.

Change the None display value for a choice list

You can change the default display label of the None option for a choice field.

Before you begin

Role required: personalize_choices
Note: The personalize_choices role must be explicitly granted to the user; it cannot be an ACL.

Procedure

  1. Navigate to a form on which the field appears.
  2. Right-click the field label and select Show Choice List.
  3. Click New.
  4. Complete the form.
    Choice form fields
    FieldValue
    TableSelect the table.
    ElementLeave the name of the field that is automatically populated.
    LanguageEnter ISO language code for the label.
    SequenceLeave empty. This field determines the order.
    InactiveLeave cleared.
    Label

    Enter the label to appear in the choice list.

    You can use JavaScript, including calls to script includes, to define the label. For example, the JavaScript label in the following example changes the -- None -- value of the Time zone choice list in a user record to use the time zone value of the instance.

    New record creation
    ValueEnter NULL_OVERRIDE.
    Note: You must enter NULL_OVERRIDE as the value, or the new label appears in addition to the -- None -- option.
    Dependent valueLeave blank.
    HintLeave blank.
  5. Click Submit.

I dont want to remove the None option. I want it to not to get added to the selection. Now user can select any option from the dropdown  . After that if he selects "None" in the dropdown it gets added to the list. I want to restrict that. Is that possible?

find_real_file.png

 

find_real_file.png