format

Allows you to apply formatting to the contents of an item, or to create edit checks for that item. It also allows you to set button items to be mandatory.

Syntax

   <format>
      <datatype>data type</datatype>
      <presentation>presentation settings</presentation>
      <constraints>constraint settings</constraints>
   </format>
Note: Datatype is mandatory and must appear first; the other settings are optional.
Table 1. format parameters
Parameter Type Description
data types currency, date, time, etc., The type of data the item can contain.
presentation settings calendar, decimalseparator, pattern, etc., The formatting to apply to the data in this item.
constraint settings casesensitive, mandatory, range, etc., The constraints to apply to user input.

Available in

button, checkgroup, combobox, field, label, list, popup, radiogroup, slider