Skip to main content

Is there a way to show the count of items selected in a multipicklist rendered as checkboxes?

The standard renderer does this for you when you’ve selected 4 or more. How can I access that value?

Let me know if there’s a better way.

I’m running this field renderer:


var field = argumentse0],<br>&nbsp; &nbsp; value = skuid.utils.decodeHTML(argumentse1]),<br>$ = skuid.$,<br>count = 0;<br>if (value){<br>&nbsp; &nbsp; var countarray = value.split(';');<br>&nbsp; &nbsp; count = countarray.length;<br>}<br>skuid.ui.fieldRenderers.DOUBLEUfield.mode](field,count);

Reply