Validador de CPF e CEP

  • Profile Image
    waldomiro
    Asked on September 24, 2015 at 07:07 PM

    Boa Noite,

    Gostaria de saber como faço alguns validadores importantes nos campos

     

    1 - como faço um campo CPF com validação de CPF mesmo?

     

    2- Como faço um Campo de CEP assim o usuário coloca o CEP e nos campos

    RUA; Bairro; Cidade; UF saõ preenchido automaticamente?

     

    Era assinante Bronze mais teve um problema ai no pagamento que coloquei mensal e cobrou anual, mais já resolvido, agora estou esperando o prazo que vocês pediram de 5 dias uteis para eu renovar para o Plano Bronze mensal

     

    estou no aguardo das minha resposta obrigado

     

  • Profile Image
    Chriistian
    Answered on September 24, 2015 at 11:36 PM

    Hi,

     

    Are you referring to this form - http://www.jotformz.com/form/52597193108663? If you are referring to the validation of the input mask of the field, you can check the Fill Mask Validation so that user is required to input a value following the input mask setup of the field. 

     

    Regarding the CEP field, do you mean you want to automatically populate the address fields based on the CEP field? If so, I think this might be possible using conditions. Can you provide us more details regarding the logic you want to implement so we can further check the issue?

     

     

    We will wait for your response.

    Regards.

  • Profile Image
    waldomiro
    Answered on September 25, 2015 at 12:31 AM

    1 - a questão do CPF além da mascara que já fiz quero fazer essa validação a exemplo nesse código como consigo implementar isso http://www.geradorcpf.com/javascript-validar-cpf.htm

     

    2 -

     

    3 -

    também duvidas sobre 2 campos  tem e-mail e confirme seu email quero uma mensagem quando o campo confirme seu email estiver diferente do campo email como faço isso?

     

    4 -

    outra coisa  queria que meu formulario só aceitasse um cpf exemplo eu me cadastro com CPF 123.456.789-99 e se eu ou outra pessoa fossem manda outra resposta neste formulario e digitasse o mesmo CPF 123.456.789-99 daria uma mensagem que já foi cadastrado. Tem como fazer isso?

    estou no aguardo obrigado

  • Profile Image
    Chriistian
    Answered on September 25, 2015 at 01:46 AM

    Hi,

     

    Regarding for your question number 1, unfortunately, we cannot implement this validation in the form. What you can do is to download the full source code of the form and then add the javascript implement the validation. You will need a basic knowledge in programming to be able to implement this.

     

    For question number 2-4,  I have moved it to a separate thread so we can better assist you. You can check the threads here:

    http://www.jotform.com/answers/669959

    http://www.jotform.com/answers/669958

    http://www.jotform.com/answers/669960

     

    We will attend to it as soon as possible.
    Regards.

  • Profile Image
    waldomiro
    Answered on September 25, 2015 at 09:07 AM

    É infezlimente não é possivel isso, mais queria pedir a voces que pense nessa implementação no futuro, sei que trabalha pro mundo todo e cada lugar é um lugar mais tudo é possivel nessa areae sei que são capazes.

     

    obrigado pela atenção show de bola

  • Profile Image
    Boris
    Answered on September 25, 2015 at 11:06 AM

    As my colleague explained above, I'm afraid that this particular function for ZIP validation that you are looking for can be added to the source code version of your form by someone with at least basic knowledge of JavaScript.

     

    One of the possible workarounds that may be of help to you would be to try using one of our ZIP-based geolocation widgets, such as: http://widgets.jotform.com/app/geocomplete

    Here is a sample form where you can test out how this widget predicts an address based on entered ZIP number: http://form.jotformpro.com/form/50502567537961

    However, it does not validate if a ZIP number is valid, it only tries to predict the address that this ZIP number is for. I hope this helps.

  • Profile Image
    lnn
    Answered on November 27, 2015 at 08:20 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

     

     

  • Profile Image
    beril
    Answered on November 27, 2015 at 10:08 AM

    I've created a separate thread for you, so anyone in the support staff will be able to assist you with your specific requirement. Please follow up there:

    http://www.jotform.com/answers/713027