Function
Description
Test
isBlank
True if the value is whitespace, newlines, or tabs. Otherwise false.
isInteger
True if the value is an integer, otherwise false.
isNumeric
True if the value is any valid numerical value (1.4, -4.56, etc), otherwise false.
isDigit
True if the value is a single character 0-9
setNullIfBlank
Sets an input field's value to empty if it only contains whitespace, newlines, or tabs
setFieldsToUpperCase
Sets values of input fields to their uppercase values.
disallowBlank
Returns true if field is blank, alerts a message, and focuses cursor to field requiring an input. Otherwise returns false.
disallowModify
Returns true if field has been modified, alerts a message, and focuses cursor to field that was changed. Otherwise returns false.
getInputValue
Returns the value of any input element, regardless of type. Returns a comma-separated list for multiple selects and multiple form fields with the same name.
setInputValue
Sets the value of any input element, regardless of type.
getInputDefaultValue
Returns the default value (at page load time) of any input element, regardless of type. Returns a comma-separated list for multiple selects and multiple form fields with the same name.
isChanged
Returns true if the current value of a form field does not equal the value when the page was loaded.