Toggle menu

helper.updateFieldHint(fieldName, hint)

Updates the text of the field hint.

Note that the field must have been supplied with a hint initially.

Executed

Client-side only.

Arguments

ArgumentTypeDescription
fieldNameString, requiredThe name of the field whose hint will be updated
hintString, requiredThe new hint text. It may contain HTML and references to field values in the form #FIELDNAME#.

Example

In this example the hint of the field called 'TEXT' is updated with a message, including the value of a field called 'CHOICE'.

function (helper) {
    helper.updateFieldHint('TEXT','You selected #CHOICE# above. Please answer either Yes or No to this question')
}

Last modified on March 06, 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon