You are here: User interface > Validating user input

Validation of user input

A property value can be valid or invalid. A valid property value can be saved to the database. Pages containing one or more invalid values ordinarily are not saved in the database.

When an invalid value is detected, a message is added to the page to mark the value. The invalid value remains on the clipboard. The user is not automatically notified of the invalid value.

Four rule types support reformatting and validation of property values:

You can use a fifth rule type, known as validation rules (Rule-Obj-Validate rule type) to apply multiple edit validate rules at once to several inputs.

When a property value fails any of these validations, the system notes this in a message associated with the property or with the clipboard page containing the property. Your application user interface determines whether, when, and how a user learns of this validation failure or is prompted to correct the input. Ordinarily, pages that contain messages (indicating invalid data) cannot be saved into the database.

When a workstation user submits an HTML form, previous page messages corresponding to the input are cleared, and property messages are cleared for any value that changed.