Versions Compared

Key

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



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

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

...

Code Block
javascript
javascript

var fields = getAllFields();
for (var i = 0; i < fields.length; i++) {
  var field = fields[i];
  var value = get(field.id);
  if (value.indexOf("@") != -1 && value.indexOf(".") != -1) {
    field.style.textDecoration = "underline";
    field.onclick = function(e) {
      pui.link("mailto:" + get(getTarget(e)));
    }
  }
}

...