Toggle menu

Form Helper Functions

There are 146 results
Page 6 of 8

Search results

helper.utilEnableDisableField(fieldID, enable)

Low level jQuery wrapper for enabling and disabling a field.

helper.utilEscValueSelector(v)

Returns an escaped form of a text string.

helper.utilExpandFieldVariableTemplate(template)

Takes a string and replaces any markers in it with the current value of a referenced field, variable or custom object.

helper.utilExpandJSONTemplate(template)

Takes a string and replaces any markers in it with the current value of a referenced field or variable. Also escapes JSON.

helper.utilExpandTemplate(template [, valueObj] [, noEscape])

Takes a string and replaces markers within it with the current value of a field or the value of a property within an, optional, supplied object.

helper.utilFieldSizeChanged(fieldName)

This function is used to inform any container (iCM in practice) that a field as changed its rendering such that more or less space is required to display it.

helper.utilFilterSelectOptions(inputID, optionData, groupNames)

Low level jQuery wrapper for re-building a set of HTML option elements from the supplied optionData object.

helper.utilFocusCheckedField(fieldID)

A low level jQuery wrapper for setting focus to a check field.

helper.utilFocusField(fieldID)

Low level jQuery wrapper for setting focus to a specified element.

helper.utilGetActionFailure(contextVariables, fieldName)

An internal function used to get the ACTIONFAILED_ context variable.

helper.utilGetActionResults()

Returns the responses of form actions that have occurred so far in the form.

helper.utilGetCheckedInputValue(inputID)

Low level jQuery wrapper for obtaining the current value of an HTML element that can be checked, for example a checkbox or a radio button.

helper.utilGetFieldNames([pageName])

Returns the names of all fields on a named, or all pages, of a form.

helper.utilGetInputValue(inputID)

Low level jQuery wrapper for obtaining the current value of an HTML input element.

helper.utilGetSelectedInputValue(inputID)

Low level jQuery wrapper for obtaining the current value of an HTML element that can be selected, for example a list box.

helper.utilHash(input [, prefix])

Provides basic hashing capabilities.

helper.utilHtmlEsc(text)

Returns an escaped version of the supplied text.

helper.utilInvokeAPIServer(name, method, params, okCB, errorCB)

Invokes a particular method using the API Server/Worker combination specified in a previous call to utilCreateAPIServer.

helper.utilListToArray(list [, allowBlanks])

Converts a comma separated list of values in a string to a JavaScript array.

helper.utilLoadCSS(fileName)

A function used to dynamically load a css file.

Share this page

Facebook icon Twitter icon email icon

Print

print icon