You can validate a value entered in a field, record or control by creating a validation rule. To perform more complex validation in a form, you can use a macro or Visual Basic for Applications code.
Create a field validation rule
Create a record validation rule
Create a validation rule for a control
Create more complex validation for a form using a macro or Visual Basic for Applications