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 4 Next »

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

Example:

The example below turns all input fields with a length of 1 into checkboxes.

var fields = getInputFields();
for (var i = 0; i < fields.length; i++) {
  var field = fields[i];
  if (field.maxLength == 1) {
    applyProperty(field, "field type", "checkbox");
    applyProperty(field, "checked value", "X");
  }
}
  • No labels