+ Start a Discussion
Ronak SFDCRonak SFDC 

How can I use previously entered values as picklist choices?

Hi All,

Newbie here, and I've not been able to find the answer to this question.

What I would like to do is create a picklist field, where the user is able to add a value that is not in the picklist, but the choices they have to select in the picklist is made up of previously entered choices, as well as 1 or more pre-defined choices.

e.g. Let's say the field is called "Job Title", default choices in the picklist are "Junior Developer", "Senior Developer", "Manager"

Person 1 creates a new record, and has a job title that isn't one of the default choices, so he enters his Job Title as "Sales Representative"

Now, when Person 2 creates a new record, when they come to the "Job Title" field, their picklist choices are :- "Junior Developer", "Senior Developer", "Manager" (the ones already there) and "Sales Representative" (the value entered by Person 1).

Is this possible / simple to achieve? If so how?

Thanks in advance.
Waqar Hussain SFWaqar Hussain SF
You can not add picklist values dynamically. But you can create a VF page where you can show dynamic picklist values.

See
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectList.htm