You can display messages or tooltips for the fields in the generated applications.
Variable
ctrl
the current field, a Control object.
Functions
Note: these functions don't work in an Inline Add/Edit mode.
ctrl.getTooltip()
Returns the current tooltip text including HTML formatting.
ctrl.setTooltip( message )
Sets the tooltip message. HTML formatting is supported.
ctrl.addTooltip( message )
Append the message to the tooltip. HTML formatting is supported.
Example
ctrl.setTooltip( '<b>' + ctrl.getValue() + '</b> is the value of the field');
See also:
•Labels/Titles API: setFieldTooltip
•Miscellaneous settings: Edit form tooltips