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
sml9099sml9099 

Multiple Default Values in multi picklist on Visual force page

Hey  
I have a multipicklist on VF page  which has 4 values. Is there a way to set all the 4 values as default values in the multipicklist whenever anyone opens the VF page. I know we can set only one value as default value but I want all 4 values to be default.

Thanks
sushant sussushant sus
if ur using multiselectpicklist of object then its not possible 

otherwise you can refer this 
http://www.sfdcgems.com/2012/12/code-snippet-for-salesforce-multiselect.html