9.6 Validating User Input in Forms
Developers can create validation and an associated error message to check the data a user enters before processing.
- About Creating Validations and Error Messages
- Associating a Validation with a Specific Item
- About the Error Message Display Location
Parent topic: Developing Forms
9.6.1 About Creating Validations and Error Messages
You can use validations to check data a user enters before processing. Once you create a validation and the associated error message, you can associate it with a specific item. You can choose to have validation error messages display inline (that is, on the page where the validation is performed) or on a separate error page.
Creating an inline error message involves these steps:
-
Step 1 - Create a validation and specify error message text. To learn more, see "Understanding Validations."
-
Step 2 - Associate the validation with a specific item.
Parent topic: Validating User Input in Forms
9.6.2 Associating a Validation with a Specific Item
To associate an item with a validation and specify error message text:
Parent topic: Validating User Input in Forms
9.6.3 About the Error Message Display Location
The error message display location identifies where a validation error message displays. Validation error messages can display on an error page or inline within the existing page. Inline error messages can display in a notification area (defined as part of the page template) or within the field label.
To create a hard error that stops processes, including any remaining validations, you must display the error on an error page.
Parent topic: Validating User Input in Forms