---
title: "Additional Validations"
canonical: "https://kb.myframeworks.com.au/space/FRAM/28392046/Additional%20Validations"
format: markdown
---
# Overview

The **additional validations** table is designed to be used for simple validations against existing fields or on their own that may be configured differently for each customer in an easy way. It was originally designed to add an extra level of validation to sales orders dispatch information for Frameworks GetSwift [Truck Tracker Integration Overview](https://sterlandsupport.atlassian.net/wiki/spaces/FRAM/pages/28410622); however, it may be used in any application. The codes have no meaning beyond providing a consistent way to identify when to use the validation. If field names are used, then the field names must be spelt correctly.

# Accessing the Additional Validations

To access the **additional validations, **perform the following:

1. Click the **Frameworks Menu** and navigate to **System Administration > System Setup > Configuration > Additional Validations **from the navigation tree.

# <span style="color: #172b4d">The Additional Validations Table</span>

The **Additional Validations** table is a list containing dynamic validations, designed for the [Truck Tracker Integration Overview](https://sterlandsupport.atlassian.net/wiki/spaces/FRAM/pages/28410622) can be tailored to ensure the delivery and contact details when placing orders adhere to strict validation rules.

![image](media://d904974d-eb3c-4385-b84c-33b2fdbe3b62)

| **Validation Field** | **Explanation of rules** |
| --- | --- |
| **Code** | This is the unique identifier that consists of two parts separated by a dash '-'. |
| **Description** | This is used as part of the error message if the validation fails. |
| **Active** | If not active, the validation will not be applied to that field. |
| **Minimum length** | Counts the number of letters or digits and fails if there are less than the minimum. |
| **Maximum length** | Counts the number of letters or digits and fails if there are more than the maximum. |
| **Mandatory Length** | Counts the number of letters or digits and fails if there are more or less than the mandatory length. |
| **Valid Characters** | Checks to see if the data captured contains only the characters specified. There are three shortcuts that use the tokens:<br>- [a-z] = all alpha,
- [0-9] = all numerics,
- [space] to indicate spaces are allowed.<br>Any other character should simply be added to the field without any delimiters. For example, if you wanted only alphas and colons then you would use "[a-z];" |
| **Only if Tracking active** | Will ignore the validation if there are no events with actions for Truck Tracker. |
| **Additional Rules** | These are programmed special validations. Currently there are a fixed number of them. They may be combined using a semi-colon ';' |
| **Email Validation=default** | Checks that the email address is valid. Currently there is only one type of validation, but there is provision for any new version |
| **Valid Prefix=x,x,x** | Checks that the prefix is one of the prefixes in the comma-seperated list. The list may contain different lengths for each entry. |
| **Enforce Valid Stat=true** | Checks that the State is in the list of valid states using the (State) misc table list |
| **Allow Past Dates=false** | Prevents dates in the past. Assumes the value is a date or date/time but will not create an error if it is not. |

# Additional Information

> ✅ Refer to the [Truck Tracker Integration Overview](https://sterlandsupport.atlassian.net/wiki/spaces/FRAM/pages/28410622) for more information.