Is this possible? I see the ability to select a single value as the default, but can I select say 3/5 values as the default?enter image description here


From the Multi-Select Picklist Field Type documentation:

Multi-select picklist fields contain a list of one or more items from which a user can     
choose multiple items. One of the items can be configured as the default item.

So based on the documentation alone, I'd say it isn't possible to select more than one default item.

Idea to promote: Multiple Defaults for Multi-Select Picklist

| improve this answer | |
  • weeeakkkkkkkkkkk – jordan.baucke Apr 11 '13 at 20:17
  • It isn't great, maybe there is an idea that can be promoted? – Daniel Ballinger Apr 11 '13 at 20:18


Assuming $j = jQuery.noConflict();

I'm also using underscore.js here;

var selected = ['keys', 'go', 'here'];
$j('#id of select option').filter(function() {
    return _.contains(selected, $(this).text());
}).prop('selected', true);
| improve this answer | |
  • I don't think we're using underscore.js (I don't think it's on default VF pages either but yeah I get where your going) – jordan.baucke Apr 11 '13 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.