-
Besouro_designPerguntado em 27 de outubro de 2023 às 09:47
Preciso de uma funcionalidade que valide se o CPF do usuario é valido
-
Carrissa Jotform SupportRespondido em 27 de outubro de 2023 às 09:59
Hi Besouro_design,
Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Portuguese, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, let me help you with your question. I'm afraid, we do not have a CPF validation mechanism with the Federal Revenue Service. This implementation has been requested from our developers previously. What I can suggest to you at the moment is the use of a CPF Mask. This will only work for Short Text fields and is not available for widgets or other field types. I'll show you what to do below:
- In your Form Creator, access the Form Elements menu on the left.
- Scroll down until you find the Short Text field. Click or drag to add it.
- Access the Field Properties (gear icon). Navigate to the Options tab.
- Activate the Input Mask option and apply the following mask: ###.###.###-##
You can also enable the Validation feature and select the Numeric option. This way, your fillers will only be able to add numbers to the field.
Feel free to reach out again if you have any questions or if we can help you in any other way.