The help element
Release 2.0 - ...
The author-optional element help provides a convenient way to attach help information to a form control.
The message specified can exist in instance data (using a Single Node Binding) or as inline text, where when both specifiedĀ a Single Node Binding takes precedence over inline text.
A modeless message is the foundation for displaying a help message. The help message itself will never be rendered directly, it needs to be invoked by dispatching the xforms-help event to the control.
Example
XML | Copy Code |
---|---|
<xf:input ref="a:City"> <xf:help>Specify a Postal Code to automatically prefill the City.</xf:help> </xf:input> |
Attributes
Name | Description |
---|---|
Common Attributes | Any attribute from the Common Attributes collection (e.g. id). |
Single Node Binding Attributes | One or more attributes from the Single Node Binding Attributes group (ref, model, bind). |
Linking Attributes | Any attribute from the Linking Attributes group (e.g. src). |
Specification
Link to the XForms specification: the help element.