Data Type Validation
Data Type Validation
the data entered or processed adheres to specific criteria or constraints. Validations help maintain
data integrity and enforce business rules within your forms and processes.
1. Text (String)
o Validation Examples:
Length Constraints: Limit the number of characters.
Pattern Matching: Validate format using regular expressions (e.g., email
addresses, phone numbers).
Required Field: Ensure the field is not left empty.
2. Numeric
o Validation Examples:
Range Constraints: Set minimum and maximum values.
Decimal Places: Define the number of decimal places allowed.
Required Field: Ensure a numeric value is provided.
3. Date
o Validation Examples:
Date Range: Ensure dates fall within a specified range (e.g., start date
must be before end date).
Date Format: Validate the date format (e.g., YYYY-MM-DD).
Required Field: Ensure a date is provided.
4. Boolean (True/False)
o Validation Examples:
Required Field: Ensure a value (True/False) is selected.
Conditional Logic: Validate based on the value of the Boolean field (e.g.,
if True, then show additional fields).
5. Dropdown/List
o Validation Examples:
Selection Constraints: Ensure that a valid option is selected from the list.
Required Field: Ensure that an option is selected and not left blank.
6. Lookup (Reference Data)
o Validation Examples:
Existence Check: Validate that the selected reference exists in the lookup
table.
Required Field: Ensure that a valid lookup reference is chosen.
7. Attachment
o Validation Examples:
File Type: Restrict file uploads to certain types (e.g., PDFs, images).
File Size: Set limits on the size of files that can be attached.
Required Field: Ensure that an attachment is provided if required.
8. Currency
o Validation Examples:
Range Constraints: Set minimum and maximum currency values.
Decimal Places: Define the number of decimal places for currency values.
Required Field: Ensure a currency amount is provided.
9. Percentage
o Validation Examples:
Range Constraints: Ensure that the percentage value is within the 0-
100% range.
Decimal Places: Define the number of decimal places for percentage
values.
Required Field: Ensure a percentage value is entered.
Example Validations
Conclusion
Validations in Unifier are applied to various data types to enforce data integrity and business
rules. By configuring validation rules for text, numeric, date, boolean, dropdown, lookup,
attachment, currency, and percentage fields, you can ensure that data entered into your forms and
processes meets specific criteria and maintains consistency.