Updates the text of the field hint.
Note that the field must have been supplied with a hint initially.
Executed
Client-side only.
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field whose hint will be updated |
hint | String, required | The 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