Progress
Programming
Handbook
Validation of User Input
Progress allows you to define validation expressions and user validation messages directly in the Data Dictionary or programmatically with the VALIDATE option of the Format phrase and the Browse Format phrase. The validation expression establishes the Boolean condition that defines valid data. Progress displays the validation message to the user (in the message area or in an alert box, depending on the configuration) if the new data fails the validation expression. Progress executes validation expressions when the user attempts to leave a field. Once the user begins to enter new data in, the user cannot leave the field without entering valid data or cancelling the input.
Validation of user input is fundamental to guaranteeing the integrity of your database. Progress provides all the language and system options you require to provide seamless validation of all user input. First, this section outlines the most efficient and straightforward way to provide complete validation. Then, it discusses the role of each language and system option that contribute to the validation story and scenarios that can lead to validation holes.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |