You can define a validation pattern to validate user input for date/time fields, numeric fields, text fields, and password fields. By default, null entries are not accepted when a value is required. Raw values are compared to the validation pattern directly, and if the raw value matches the validation pattern, it is formatted for display.
If the user-entered value does not match the validation pattern, a programming error or warning appears. The error/warning is trapped by Acrobat, Adobe Reader, or LiveCycle Forms ES, which returns a message to the user automatically. If an edit pattern has not been specified and the user input does not match LiveCycle Designer ES defaults, validation fails.
In addition to a validation pattern, or in cases where a validation pattern is not supported (for example, for radio button groups and check boxes), you can validate user input using a validation script. Validating input through a script ensures that the data is acceptable for your application. A custom message and run-time error/warning is also supported in this case.
Tip:
You can dynamically populate a validation pattern message with a value from a data source. This option allows you to ensure that users enter a valid value in the field.
4.
In the Validation Pattern Message box, type a message to prompt users to enter the correct value. The message should specify the required input format. To start a new line in the message, press Ctrl+Enter.

To validate user input