Skip to main content
jcmrdc
Participant
December 14, 2023
Answered

Form field format validation

  • December 14, 2023
  • 1 reply
  • 797 views

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!

This topic has been closed for replies.
Correct answer Nesa Nurani

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

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
December 14, 2023

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

jcmrdc
jcmrdcAuthor
Participant
December 15, 2023

Thank you, Nesa.  It works perfectly! 🙂

Jay Cee.