Docs & Tutorials

Field Validations

Field Validations

NileDesk's Field Validations help maintain data integrity by enforcing rules on the information entered. Think of validations as vigilant guards that ensure all entered data follows predefined standards. These rules not only prevent errors but also enhance the reliability and trustworthiness of your data.

Different field types support different validation rules. Below is a comprehensive list of available validations and the fields they apply to.

Validation Description Applicable Field Types
Max. Length The field must not exceed a specified number of characters. Text
Min. Length The field must have at least a specified number of characters. Text
Equal To The field must match a static value or the value in another field. Text, Number, Date, Drop Down, User, Data Snap, Data Link
Not Equal To The field must not match a specific value or another field's value. Text, Number, Date, Drop Down, User, Data Snap, Data Link
Contain The field must include specific characters but may contain others as well. Text
Does Not Contain The field must not include specific characters. Text
Email Format The field must contain a valid email address. Text
URL Format The field must contain a valid URL with no spaces and a dot followed by at least two letters. Text
Letters Only The field may contain letters only, without numbers or symbols. Text
Numbers Only The field may contain numbers only, without letters or symbols. Text
Start With The field must start with specific characters or values. Text
Ends With The field must end with specific characters or values. Text
RegEx Expression Validates field content using a Regular Expression. Example: To validate an email, use: ^[a-zA-Z0-9._-]+[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$. This ensures the email format and domain structure are correct. Text
Attachment File Type Restrict allowed attachment types, e.g., .pdf, .docx, .png. Attachment,Picture
Attachment Max Size Limit the maximum file size for attachments (in MB). Attachment,Picture
Attachment Min Size Set a minimum size for uploaded attachments. Attachment, Picture
Attachment Max Count Limit the number of attachments allowed per field. Attachment
Attachment Min Count Require a minimum number of attachments for the field. Attachment