Form Data Validation
The server receives the incoming data from the browser and validates that data based on the validation rules that are defined in <product_code>.xml file. The <product_code>.xml file must be located within the resources folder of the application.
Currently, Canvas supports validation for the following data types:
- Alphabets (a-z)
- Alphanumeric (a-z and 0-9)
- Uppercase alphanumeric (A-Z and 0-9)
- Uppercase alphabets (A-Z)
- Numeric
- Integer
- Date
- Double
- Big decimal
- Date
For implementing server-side validation, read the following: