Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
javascript
javascript

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

...