Go to any website with a registration form, and you will notice that they provide you feedback when you don't enter your data in the format they are expecting. For example, when the phone number field on a form is not filled in or does not contain 10 digits, a message will pop up, notifying you of the error. You must re-enter the phone number correctly to be able to submit the form. This is called form validation — one of the easiest ways to ensure data accuracy as part of your data collection process.
When it comes to customer service, you need accurate data to provide a precise solution. Any conclusion drawn based on inaccurate data can slow you down when you have more important activities to deal with. Validation rules in Zoho Desk help you overcome this problem by arresting incorrect data even before it can enter your help desk.
Availability
- Only users with Profile permission to Manage Layouts and Fields can access this feature.
- You can create a maximum of 50 validation rules per department.
Basics of Validation Rules
- Validation rules enable you to validate value for a particular field to ensure that you receive the data you expect and that it is in the proper format.
- When the data entered in records do not meet the standards, you can include error messages to display to users. This way, you can ensure that everyone contributes to quality data.
- A validation rule for a field can consist of conditions like whether a value needs to be filled in, a specific expression it shouldn't contain, the minimum and maximum length of the data, whether it needs to start or end with something, or if it shouldn't be empty.
- Example: You want the passport number of travelers when their travel type is "International." If you were to set this validation rule in Zoho Desk, the essence of it would be the following:
- Layout: Tickets | Primary field - Passport number | Secondary field - Travel Type
- Condition: When "Passport Number is empty" and "Travel Type is International."
- Error to be displayed: "Sorry! Passport Number cannot be incomplete if Travel Type is International".
Note:
- If your goal is to require users to enter some value, whatever the value is, don't use text field validation. Check the "Mark as required" field instead.