Configurable Attribute Validation
In this article, we will learn about configurable validators for Personal and Profile attributes that can handle currency input formatting, job reassignment issues, and correctly structured identification numbers
Custom Attribute Validators
You can set rules for your custom attributes to make sure information is entered correctly by your staff members. These rules and custom attribute validators can help you keep your data clean and save you time because you will not have to fix staff members mistakes by hand.
How it works
When you add or edit a custom attribute, you can choose a validator. This forces the system to check the data before it is saved. This ensures that every entry follows the same format and will be correctly input based on validator structure.
Available Validation Rules
There are currently two types of checks you can use:
-
Regex Pattern Validation: This lets you set a specific format for your information. For example, you can require a certain number of digits or a specific mix of letters and numbers. The system will only accept the data if it matches the exact format you defined
💡 Tip: To find a correct Regex Pattern for your specific format of information you can use any free AI tool, which will give you an exact Regex pattern for any type of specific information such as ID number of Birth number
📝Example of Regex Pattern for UK National Insurance Number (NI) :
^[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z][0-9]{6}[A-D]$
-
Czech Birth Number Validation: This is a built-in check for Czech Birth identification number (RČ). It automatically verifies that the Birth Number (RČ) is written in the correct format so your records stay accurate and you dont need to manually check them and OnSinch verifies them for you
💡 Tip: Using these validators reduces the need for manual data cleanup and ensures your database remains professional and organized with correct data
Requesting New Rules
We plan to add more validation options in future updates. if you have a specific rule that would help your team, please reach out to us. We want to hear your requirements so we can continue to improve this feature and to add more rules and Regex formats.