Chapter 7. Enumeration Properties

Table of Contents

7.1. Static Enumeration
7.2. Dynamic Enumeration

The enumeration properties window can be accessed from the Main XForm window.

Two types of enumerations could have been defined under ProEd: static and dynamic enumeration. Definition windows are the same, except that localization of the possible values is only available for static enumeration.

7.1. Static Enumeration

The following characteristics are defined:

  • Label (lang1, lang2, lang3): this label displayed in the form can be localized in three languages.

  • Possible (lang1, lang2, lang3): the column 'value' shows the key value entered into the enumeration definition of proEd. The column 'label' will be displayed in the form based on the browser language and the performed localization in three languages.

    [Warning]Warning

    When modifying a cell in the right column (label), the modification is validated when the cell loses focus. Therefore, after modifying the last cell, it is necessary to shift focus to another cell before clicking on the Okay button.

  • Required: describes whether or not a value must be supplied before the form is submitted.

    If 'Yes' is selected, this attribute will be mandatory. If 'No' is selected, the attribute will not be mandatory. To make the attribute mandatory only in some cases, select 'Condition', which causes the 'Edit condition' link to appear to the right of the selection box. This provides access to the condition panel.

  • Relevant: allows this form control to be disabled. If this property is set to false, the workflow attribute is unavailable to the user.

    If 'Yes' is selected, this attribute will be visible in the form. If 'No' is selected, the attribute will not appear in the form. To make the attribute visible only in some cases, select 'Condition', which causes the 'Edit condition' link to appear to the right of the selection box. This provides access to the condition panel.

  • Readonly: describes whether or not the value is restricted from changing.

    If 'Yes' is selected, the user will be able to enter a value in the form. If 'No' is selected, the attribute will be read-only. To make the attribute read-only only in some cases, select 'Condition', which causes the 'Edit condition' link to appear to the right of the selection box. This provides access to the condition panel.

  • Appearance: allows the appearance of the selection field in the form to be selected.

    For Single selection select type:

    'Minimal' will result in a small drop-down menu. 'Extended' will result in a larger selection field. 'Radio' will create a radio button for every possible value.

    For Multiple selection select type:

    'Minimal' will result in a small selection field. 'Extended' will result in a larger selection field. 'Checkboxes' will create a checkbox for every possible value.