List Validator

Topic updated 26-7-2007

The List Validator is one of the Validations that you can add to a Column defined in the Database Repository. With the List Validator you can define:

A fixed set of literal values that are allowed for the column.
Labels that map to the literal values in the set.
A default value, by choosing one of the allowed values as the default.

 

The values defined in a List Validator are stored in the database, the labels are used in the user interface of a generated application.

 

The set of allowed values is created by adding values to the list. A default value is set by checking it in the IsDefault column.

ValidationsTab_ListValidator

 

User interface implementation

A column with a List Validator is implemented as a dropdown list in the user interface of applications generated with GenWise. If the column is nullable, the dropdown list will also contain a null/empty value.

ValidationsTab_ListValidatorUI