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

Cross field and conditional validation #90

Open
espositofulvio opened this issue Nov 16, 2019 · 0 comments
Open

Cross field and conditional validation #90

espositofulvio opened this issue Nov 16, 2019 · 0 comments

Comments

@espositofulvio
Copy link

Couldn't find a similar request sifting through the issues, but I think it would be pretty cool to have cross field and conditional validation. I don't know what the interface would be, but I had some use cases where validation rules are cross fields (simple example is password confirmation if you want to validate server-side that passoword and confirmation are equal) or conditional (if nationality is UK then the zip code validates as a regex of a certain format while if it's Italy it's five digit).

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