- 27 Apr 2023
- 1 Minute to read
- DarkLight
Validation Rules
- Updated on 27 Apr 2023
- 1 Minute to read
- DarkLight
What are Validation Rules?
Validation rules are records checks that help you prevent customers and admins from creating or editing a record if a specific criteria or condition isn't met.
For example, you want to make sure all customers have a VAT number on record or you want customers to purchase a specific product such as passes before they can book a resource.
Validation Rule Wizards
We currently offer the following validation rules wizards, that help you create validation rules in just a few clicks.
Make VAT Number Required
This validation rule can make the VAT number a required for any customer.
Validate VAT number format
This validation rules prevents customers and admins from adding a VAT number that doesn't match the standard British VAT number format.
Prevent last minute purchases
This validation rule prevents customers from purchasing products linked to a booking less than 24 hours before the start of the booking.
Fixed booking times
This validation rule only lets customers start/end bookings at the start of an hour or 30 minutes past the hour.
Make customer emails unique
This validation rule prevents the registration of any new customer if their email address is already used by another account in Nexudus.
Require first and last name
This validation ensures customers have at least two words in their full name.
Prevent multiple contracts
This validation ensures customers only have one active contract.
Check for full admin role
This validation ensures only users with a full admin role can create or change contracts.