-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Form Validation and Active/Disabled "Action" Buttons #2
Comments
Template for deciding how we want to validate each field... we can edit this post and comment below!
|
That's my first pass at the validation. ☝️ I could use your help knowing what the best max-length for the open-ended text inputs should be. Obviously we don't want it to be too short to accidentally cause anyone harm (Christopher Heninger is a long name and gets chopped off by inputs sometimes)... but we don't want 1000 character names ruining the formatting of the print view. If you could plug in some long names and decide how the CSS will wrap/line-height multilines and what is reasonable and what is not that would be perfect. I think we disagree with the income being a required field... I think that there are plenty of people who would feel uncomfortable sharing that information upfront, and in a web form, even if it is all client-side data. I'd hate for someone who doesn't want to type in their income to not be able to generate a resume. Any other spots you see that I may have missed? |
Add form validation that would prevent a user from advancing to the "preview" if fields are missing or invalid. This would also activate or disable the actionable buttons such as "Preview" or "Print"
Possible frameworks to investigate:
https://github.com/christianalfoni/formsy-react
The text was updated successfully, but these errors were encountered: