Doubt with CPF validation

Asked

Viewed 49 times

0

Good afternoon, I’m trying to do a validation on Cpf and I’m finding problems... When I type in any number that is not in the if, it enters in the bank normally, but when I type numbers from within the if I would like it to show invalid Cpf message and not play for bank, but the most I could get was to insert "INVALID NUMBER!!" into the bank... If anyone can help me... I’m sending three prints with the classes Connection, Socio and validarCpf. If anyone can help me, I would be very grateful... Thank you!!!

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • Where is the validation? Post pure code (text) instead of image.

  • 2

    Do not open questions left and right alike. Edit your questions and change what you want. Know how to edit? Just click on the button to the left above these comments.

  • Another thing, photo of "code" is the height... do not agree? Do not take the comment wrong, please.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.