You are here: Building applications > Creating the User Experience > Validating user input

  Validating user input — Concepts and terms

Concepts and terms

A property value may 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 PRPC detects an invalid value, it adds a message to the page to mark this discovery. 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 to PRPC, previous page messages corresponding to the input are cleared, and property messages are cleared for any value that changed.

Definitionsclient-side format validation, page message, property validation, validation

Up Concepts