Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to validate not required CPF field #20

Open
Xavoski opened this issue Oct 26, 2020 · 0 comments
Open

How to validate not required CPF field #20

Xavoski opened this issue Oct 26, 2020 · 0 comments

Comments

@Xavoski
Copy link

Xavoski commented Oct 26, 2020

Hello.
Thanks for your work.

I am in trouble with this gem, it validates the CPF properly. But the problem is that my CPF field is not required.
When i try to submit my form, i receive the message that CPF is invalid, but actually it is null and that is ok.

Could you help me with that?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant