Skip to content

How to validate not required CPF field #20

@Xavoski

Description

@Xavoski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions