1.

What Is The Use Of Message Action?

Answer»

The <message> element is used in XFORMS to define and display a message into XForms user interface.

For example:

<input ref="FNAME">
<label>First NAME</label>
<message LEVEL="ephemeral" event="DOMFocusIn">
Enter Your First Name
</message>
</input>
Note: In the above example the message "Enter Your First Name" will displayed as a tool tip when user will focus on the input field.

  • The event="DomFocusIn" is use to define the event to trigger that action.
  • The level="ephemeral" is use to define the message that will display as a tool tip.

The <message> element is used in XForms to define and display a message into XForms user interface.

For example:

<input ref="fname">
<label>First Name</label>
<message level="ephemeral" event="DOMFocusIn">
Enter Your First Name
</message>
</input>
Note: In the above example the message "Enter Your First Name" will displayed as a tool tip when user will focus on the input field.



Discussion

No Comment Found