Step-by-step guide
for (var i = 0, len = fieldScope.items.length; i < len; i++) {
var item = fieldScope.items[i];
if (!item.descriptionAppended) {
var separator = '-';
item.descriptionAppended = true;
item.text = item.text + separator + item.description;
}
}
return fieldScope.items;
(Example: If you want a diverse set of separator characters, then you need to change the value of the separator variable in the JavaScript.)
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|