Skip to main content
Answered

Brasileiros - Validação de CPF

  • Mar 4, 2021 8:54 PM UTC
  • 4 replies
  • 890 views

Olá brasileiros!

Alguém sabe me informar se é possível fazer validação de CPF no campo #number do Typeform?

Obrigado

Best answer by picsoung

Hi guys!
Does anyone know if it is possible to validate numbers in typeform?
The "social security number" here in Brazil is called "CPF" (000.000.000-00).
In the typeform choosing the option #Number it does not accept zero to the left nor does it divide the thousands.
Thanks!

@Mariana :point_up_tone2:



Thank you Marco for re-posting your message in english 🙏

I think it might be hard to use Typeform built-in logic to check if this number is correctly formatted or not. At least currently.

Unless you can use rules like “contains with”, “ends with”…

View original

4 replies

Mariana
Ex–Typefomer
Forum|alt.badge.img+5
  • Ex–Typefomer
  • Mar 5, 2021 11:22 AM UTC

Hi @Marco. Welcome to the Typeform Community and Happy Friday! :hugging:

 

I hope you don't mind I'll answer in English. This is the language we communicate with each other in the community. 🙂 If necessary, our support team can help you in English or Spanish, but you will need to contact them via this page. 

 

At the moment, it's not possible to verify a CPF (ID number from Brazil) using the number question. In case you're willing to share this as a suggestion, you can post it here: 

 

I hope this helps! Have a great weekend in Brazil =)


  • Author
  • Explorer
  • Mar 5, 2021 12:03 PM UTC

Hi guys!
Does anyone know if it is possible to validate numbers in typeform?
The "social security number" here in Brazil is called "CPF" (000.000.000-00).
In the typeform choosing the option #Number it does not accept zero to the left nor does it divide the thousands.
Thanks!

@Mariana :point_up_tone2:


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • Answer
  • Mar 9, 2021 2:02 AM UTC

Hi guys!
Does anyone know if it is possible to validate numbers in typeform?
The "social security number" here in Brazil is called "CPF" (000.000.000-00).
In the typeform choosing the option #Number it does not accept zero to the left nor does it divide the thousands.
Thanks!

@Mariana :point_up_tone2:



Thank you Marco for re-posting your message in english 🙏

I think it might be hard to use Typeform built-in logic to check if this number is correctly formatted or not. At least currently.

Unless you can use rules like “contains with”, “ends with”…


  • Navigating the Land
  • Oct 31, 2026 3:14 AM UTC

Uma dica é usar um campo de texto em vez de um campo numérico, pois o CPF pode começar com zero e precisa manter todos os dígitos e a formatação. Para testar a validação do formulário, você também pode usar um mais informações com números de CPF gerados para testes. Esses números não servem para identificar pessoas reais.