Brazilians CPF validating field

  • lnn
    Asked on November 27, 2015 at 10:06 AM
    Dear Sirs,

    As the same as requested by other colleagues here, I would like to ask Jotform Team to effort in a solution for Brazilians CPF validating field, because that is really important for us.

    We appreciate that,

    Regards,

    David

  • waldomiro
    Replied on November 27, 2015 at 10:27 AM

    O CPF é muito importante para o brasileiro pois pois é um cadastro unico na fazenda 

    e existe um validador estou querendo fazer no meus formularios

  • beril JotForm UI Developer
    Replied on November 27, 2015 at 10:44 AM

    I've created a feature request ticket to our developers.

    Please be noted that, creating a feature request does not ensure you that it will implemented. It depends on the feasibility and priority of our developers. We will get back to you if we have any update.

  • lnn
    Replied on November 27, 2015 at 10:53 AM

    Hello,

    CPF  number is a Federal Registration made by the Brazilian Government to all Brazilians citizen, and it's a unique number that recognize each citizens. So everywhere in Brazil (Stores, Hospitals, all Government sections, Universities, etc) they ask for the CPF number.

    So I have a CPF field in more then one form of mine that ask for these numbers (###.###.###-##), but there is an code to validate the CPF number (it means that this code can recognize if the numbers sequence are right or wrong). Is it possible to do that?

    Regards,

    David

  • Welvin Support Team Lead
    Replied on November 27, 2015 at 12:35 PM

    My colleague has already requested the validation to our developers. I'm not sure if that is possible, but if there are updates, you should be notified about it through this thread.

    For now, the fill mask validation is the best option to let users provide their CPF numbers. 

    Thanks

  • lnn
    Replied on November 27, 2015 at 1:02 PM

    Hi Welvin,

    Thank you for your prompt response. I hope the JotForm Team could be done this task or some alternative way to validate this information. It's really important for us brazilians users. Unfortunately, the fill mask is not a suitable "validation" for this case. The fill mask can only make the numbers pattern.

    Sincerely,

    David 

  • Mike_G JotForm Support
    Replied on November 27, 2015 at 1:49 PM

    @lnn

    We understand. Please be assured that our developers will look into it and see if it is feasible. And like what my colleague, Welvin, have mentioned above, you will be notified via this thread if there are any updates regarding it. 

    Thank you.

  • certipma
    Replied on January 26, 2016 at 11:45 AM

    Contribution for the developer:

     - CPF is a Social Security equivalent: unique for people, ié, phisical person.

     - CNPJ is a VA equivalent: unique for Oganizations, ié, juridic person

    Algorithm in english:

    http://snipplr.com/view/60227/cpf-and-cnpj-validation-classes-using-the-brazilian-government-official-algorithms/

  • Mike_G JotForm Support
    Replied on January 26, 2016 at 1:48 PM

    @certipma

    Thank you so much for your input, it is highly appreciated. I have added it to the report opened for this thread. 

  • lnn
    Replied on January 26, 2016 at 2:57 PM

    Is it possible to include this algorithm in our forms by ourselves?

  • Welvin Support Team Lead
    Replied on January 26, 2016 at 4:02 PM

    Yes, you can. Get the form source codes and integrate it from there. Here's how to get the source codes: http://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form. You can target a textbox for validation. 

  • lnn
    Replied on January 27, 2016 at 12:12 PM

    Is there anyway to integrate the code in the form without programming knowledge? I know how to get the source codes, but I don't know how to integrate it :(

  • Welvin Support Team Lead
    Replied on January 27, 2016 at 1:38 PM

    I'm sorry, but that needs to be coded. A programming knowledge is required. What we can do now is to wait for our developers to add this feature. However, seems like the priority of this request is low. But if there are updates, you should know it in this thread.

  • Eduardo_H
    Replied on September 11, 2020 at 4:14 PM

    Olá,

    Caso ainda tenha interesse em uma ferramenta de validação de CPF, confira este formulário:

    https://form.jotform.com/210985481161962

    Com uso de Cálculo de Formulário e Lógica Condicional , ele verifica a validade da sequência de acordo com o algoritmo utilizado pelo governo para emitir CPFs.

    Devido à complexidade do formulário, não recomendamos que tente reproduzir a sua montagem. Ao invés disso, clone-o para a sua conta para utilizar em seus próprios projetos. Veja neste manual como fazer a clonagem:

    Guia: Como-clonar-um-formulário-existente-pela-URL

    A partir do formulário clone, você pode adicionar os elementos que desejar. Caso já tenha campos configurados em outros formulários e queira aproveitá-los, você pode utilizar a ferramenta de gerenciamento de campos para copiá-los:

    https://fieldmanager.jotform.io/

    Havendo qualquer dúvida estamos à disposição.