Toggle menu

Form Helper Functions

There are 146 results
Page 1 of 8

Search results

helper.canFocusField(fieldName)

Used to check if focus can be set to a field.

helper.createCustomFn(name, func, scope)

Creates a custom function that can be called using invokeCustomFn.

helper.createPersistentVariable(name, value [,scope])

Creates a persistent form variable.

helper.deleteVariable(name)

Deletes a named variable from the runtime.

helper.disableActionButton(actionName [, label] [,fieldID])

Disables all buttons on the current page that have the specified action.

helper.disableAutoFocus()

Disables automatic focusing to the first focusable field on the form when it is displayed.

helper.disableField(fieldName)

Disables the named field.

helper.enableActionButton(actionName [, label] [,fieldID])

Enables all buttons on the current page that have the specified action.

helper.enableAutoFocus()

Enables automatic focusing to the first focusable field on the form when it is displayed.

helper.enableField(fieldName)

Enables the named field.

helper.errorClear(fieldName)

Clears any error messages currently displayed by the named field.

helper.errorClearAll()

Clears all error messages displayed on the current page.

helper.errorDisplay(fieldname, valFailure, valFailures)

Displays the supplied error for the specified field.

helper.filterOptions(fieldName, groupNames)

Filters the option data in list/group field types.

helper.focusActionButton(actionName [, label] [,fieldID])

Attempts to set the focus to a button that performs the specified action.

helper.focusField(fieldName)

Attempts to set the focus to the specified field.

helper.getCallableCustomFnNames()

Returns an array of custom functions in the current scope.

helper.getCurrentFieldID()

Returns the ID in the DOM of the field this function is executed on.

helper.getCurrentFieldName()

Returns the name of the field this function is executed on.

helper.getDisplayedOptions(fieldName)

Returns the options currently displayed in a list-type field.

Share this page

Facebook icon Twitter icon email icon

Print

print icon