Choice Properties

Select the choice control on the Screen Design page to view and configure its properties.

General control properties

These are general properties for most controls.

Property Description
Label This property applies to all controls except HtmlView and Listview.
  • Label – enter the text that describes the control on the user interface.
  • Label position – the position of the label in relation to the control it describes.
Input data binding
  • Key – the unique identifier within the scope of the widget, used when setting or retrieving a value.

    Click New key to create a new key for the control.

  • Default value – default value for the control.
Read only This property applies to all controls except HtmlView and Listview. Select to make the control read-only.
Note: The read-only property is not supported on the Windows Mobile platform for the Checkbox, Slider, and Choice controls.

Choice general properties

These are the general properties that apply to the choice control.

Property Description
Logical type Select the logical type for the edit box from the drop-down list. Logical types include:
  • TEXT
  • NUMERIC
Note: The properties that you can configure depend on the logical type set for the control. Some properties only apply to the numeric type and some only apply to the text type.
Options
  • Static – the choice contents are static. Click Add to assign a display name and value pair to the choice item.
  • Dynamic – the choice contents are dynamic.

Advanced

These are the advanced properties that apply to the choice control.

Property Description
Content size Number of decimals – specify the number of decimals (the number of digits after the decimal point—valid range is 0 to 28) for a number. Only valid in conjunction with the numeric attributes. The default is zero.
Note: This property is used only if the logical type for the choice control is set to numeric.
Validation required
  • Required – specify if user input is required. A submission without a value is not possible.
  • Validation message – enter the error message displayed to the user in case the input validation criteria do not match.