5

I'm looking at a form on Salesforce that uses a custom object. The object has picklist (drop down) values that are showing an optional --None-- selection. Most of the drop downs have the --None-- selection available, but some do not. Where would I configure a picklist to have (or not have) a --None-- selection?

3 Answers 3

8

When a picklist field is marked as required (e.g. in the layout), and the picklist field already has a non-null value the "--None--" value is not presented. The non-null value cases are:

  • on a "New" page where the picklist defaults to the first value
  • on an "Edit" page where a value has already been entered

There is no explicit setting on the picklist itself.

1
  • Interesting. I'm using the REST API, and the --None-- values do not come down. I'll have to manually add them based on your conditions I suppose. Commented Jul 19, 2014 at 20:55
0

A less likely, but possible, explanation is that on a VF page, the picklists could be generated from controller properties into apex:selectOptions. Unless the controller explicitly inserts a selectOption with value -- None --, the picklist will not appear with any -- None -- option

0

I follwed this thread and wanted to make my dependent picklist to remove the none value but it didn't work. My picklist field is dependent with opportunity stage. Everytime i click on my picklist field, it is presented to me with None value as well.

I already made the picklist as required in page layout and also defaulted a picklist value.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .