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

Validate Input of a Form Against Another Collection #211

Open
beauremus opened this issue Dec 9, 2016 · 2 comments
Open

Validate Input of a Form Against Another Collection #211

beauremus opened this issue Dec 9, 2016 · 2 comments
Labels

Comments

@beauremus
Copy link
Contributor

I would like to validate the input of a form against the existence of common fields in another collection. Any suggestions on how to accomplish this?

@themeteorchef
Copy link
Owner

Hi @beauremus. If I understand correctly, you could do this using a combination of jQuery validation's validator.addMethod function and a method that calls to the server to check the inputted value against some data from a collection. Does that make sense?

@beauremus
Copy link
Contributor Author

I need some time to dig into it but I think so.

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

No branches or pull requests

2 participants