In Spain, and it's supposed to be worldwide, there are important fields that needs to be fulfilled correctly by the Sales/Marketing people, for example DNI (Identity National Number) or NIE (Foreign Identification Number).
As these two examples are crutial when filling data to be double checked, even more when there were integrations that uses them presumes that information were correct from origin, it should be a great workaround to allow the use of regular expressions as part of the Masking Rules of these kind of fields.
For example in Spain these 2 regular expressions are used often in regular Forms to check them:
var nifRegex = /^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKE]$/i;
var nieRegex = /^[XYZ][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/i;
👋I'm Rachel from the HubSpot Product team. Regular expressions for property validations are now in private beta (request access via Product Updates; Pro/Enterprise). Would love to hear any feedback you have on this feature via our in-app survey or this thread. Thanks!
👋I'm Rachel from the HubSpot Product team. Regular expressions for property validations are now in private beta (request access via Product Updates; Pro/Enterprise). Would love to hear any feedback you have on this feature via our in-app survey or this thread. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.