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

« Previous Version 5 Next »

This function returns an array of all output fields on the screen.

Example:

The code below finds all output fields that meet certain criteria and applies the deAbbreviate() function to them.

var fields = getOutputFields();
for (var i = 0; i < fields.length; i++) {
  var field = fields[i];
  if (field.className == "A22" && get(field.id).length == 1) {
    deAbbreviate(field.id, ["A", "D", "I"], ["Active", "Deleted", "Inactive"]);
  }
}
  • No labels