Example setting the default value
var ms = new Y.inputEx.MultiSelectCustomField({ label: "Choose librairies :", name: 'librairies', maxItems:3, choices: [ { value: null, label: 'Choose a library' }, { value: 'yui', label: 'YUI' }, { value: 'dojo', label: 'Dojo' }, { value: 'prototype', label: 'Prototype' }, { value: 'scriptaculous', label: 'Scriptaculous'}, { value: 'mootools', label: 'Mootools' } ], maxItemsAlert: function(){alert("limited to 3 responses")},// limit to 3 response listSelectOptions : { choices:[ { value: 0, label: 'Normal' }, { value: 1, label: 'I like' }, {'value': -1, label : "I don't like'"} ] }, description: "what you think about those librairies", parentEl: "container1" }); ms.on("updated",function(params) { var value = Y.JSON.stringify(params); Y.one('#container1').appendChild( inputEx.cn('div',null,null,"Updated at "+(new Date())+" "+value) ); });