<FORMAT> : Format

Java class : leon.info.LyFormat

ROLE

This element is available for the TEXT, NUMBER, DATE and FILE fields. It defines a format that is applied inside the field during the selection of a value.
The definition of this format depends on the type of the field. More details will be given further in this document.

ATTRIBUTES

<!ATTLIST FORMAT
	  value CDATA #REQUIRED>
Attribute Mand. Description Default
value yes Value of the format. The syntax is the one specified for the text input widgets. If a format is specified, it is attached to the text field and used to facilitate the user while typing in. If no format is specified, a default text field is used.  

SAMPLE

<!-- Format of an Internet Protocol (IP) address -->
<FORMAT value="[0-255].[0-255].[0-255].[0-255]"/>

<!--Telephone number with 10 digits -->
<FORMAT value="[0-99] [0-99] [0-99] [0-99] [0-99]"/>