-
Notifications
You must be signed in to change notification settings - Fork 2
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
determine best framework for errors and validation #7
Comments
Research so far: I am looking at three different libraries. Parsley looks like a simpler basic implementation. Validate looks most flexible. FormValidation has some nice built in validators and plugin system. Each are well-documented. Parsley looks to, based on examples, require extra work to do certain things, like immediate feedback to the user if there's a validation error. You do need to click the submit button before receiving feedback, by default, in Parsley, and I don't see examples that do it automatically. @benguhin do you have any thoughts about whether there's an optimal path here? Clicking submit vs. real-time feedback? Here are the example forms: https://parsleyjs.org/doc/examples/simple.html https://validatejs.org/examples.html https://formvalidation.io/guide/examples FormValidation gives a lot of great examples, which I think would make implementation easiest while giving a lot of power. I am leaning in that direction but would love thoughts! |
Not my call on design, but I'm a fan of realtime feedback and client side validation whenever possible. :-) |
Yeah I think real-time client-side feedback would be great. Any reason to not use FormValidation? (I will go ahead and say that the license cost is not a blocker) |
@benguhin No, I think FormValidation might be the best bet. Do you know what we'd have to do to get a license? |
I'm going to close out this issue because we've determined the best framework. Now we need to figure out how to purchase and implement, which is a separate issue. ETA: I don't think I'm able to close the issue. |
Further work needed: research HTML5 built in form validation with our form and see if it does what is needed. Jumping off point: https://developer.mozilla.org/en-US/docs/Learn/Forms/HTML5_input_types |
Note: plan to take on this research Monday-Tuesday 8/24-25 |
breaking out from #5
The text was updated successfully, but these errors were encountered: