function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
adi salesforceadi salesforce 

How to create new picklist value to picklist field

If I select other from ownership picklist field in account it should create new box to add picklist value.
Sohan Raj GuptaSohan Raj Gupta
Hi Adi,

You can refer ​http://www.forcetree.com/2009/06/dynamically-add-values-to-picklist.html link to under how to add new values in picklist dynamically.

Hope this will help you. Let me know if it helped or you need any more assistance. 

Please mark this is as the solution if it solved your purpose.

Thanks,
Sohan Raj Gupta 
adi salesforceadi salesforce
Hi Sohan,
Thank you for responding but could you see the requirement once because the link that you provided is not meeting the criteria.
Sohan Raj GuptaSohan Raj Gupta
Hi Adi,

You can also use JavaScript with this.

Like if you select "Other" then new input field will be displayed and when you click on Update button then you can save that value in picklist using following link ​http://www.forcetree.com/2009/06/dynamically-add-values-to-picklist.html

Thanks,
Sohan Raj Gupta