AnsweredAssumed Answered

Auto Select Choices in multi select on load

Question asked by greenawayr Champion on Oct 23, 2017
Latest reply on Oct 25, 2017 by emha



I have a multi select choice box that is populated by semi colon separated values in one of the items column. So on form load the choice control displays the values that exist in that column. This works fine, but what I'd like to do is get these values all selected by default when the form loads, so if a user doesn't want an item selected they have to click on the choice to deselect it rather than having to select all the options other than the one they don't want.


I have hoped that perhaps setting the Default Value to the item column, Nintex might automagically select the values for me, but no.


I've tried

NWF$('#' + SelectedProductCodes).prop('selected', true);

but this doesn't seem to do anything.