Copy link to clipboard
Copied
Greetings, everyone!
How do I go about implementing a format validation script for a form field called CPF? I need the user to input a sequence of 11 digits and then automatically change it to a specific format, for example:
The user inputs: 12345678900
On exiting the field, the scripts validates a mask to: 123.456.789-00
Thanks a lot!
Copy link to clipboard
Copied
Go to that field properties and select 'Format' tab, now from format category select 'Special' and then 'Arbitrary mask' and enter this:
999.999.999-99
Copy link to clipboard
Copied
Go to that field properties and select 'Format' tab, now from format category select 'Special' and then 'Arbitrary mask' and enter this:
999.999.999-99
Copy link to clipboard
Copied
Thank you, Nesa. It works perfectly! 🙂