getInputFields()



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"); } }