Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Step-by-step guide


  1. Click on Modules.
  2. Select the Module with the appropriate form field.
  3. Select Forms tab.
  4. Select Master form.
  5. Use filter to find relevant field.
  6. Edit the field.
  7. Select “ CutsomJs” tab.
  8. In the “filter” section type


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.)



  • No labels