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

field/form validation #74

Open
rafd opened this issue May 16, 2011 · 4 comments
Open

field/form validation #74

rafd opened this issue May 16, 2011 · 4 comments
Assignees

Comments

@rafd
Copy link
Member

rafd commented May 16, 2011

For each model:

  • make sure all fields are validated by RoR
  • use a front-end validation solution, potentially make use of the tooltip library
@ghost ghost assigned fionatran May 16, 2011
@rafd
Copy link
Member Author

rafd commented May 31, 2011

Don't hate me, but, I think we should go with this gem:
https://github.com/bcardarella/client_side_validations

It automatically pulls in validations from the model.

@rafd
Copy link
Member Author

rafd commented May 31, 2011

Could you do the following to complete this issue:

  • go through each model, and add validation methods where necessary (including the devise user forms)
  • test that the forms still work and that the validations show

@fionatran
Copy link

Client-side validations work now for me (haven't pushed to github yet), although there are two minor issues:

  • for the User signup and edit User, the error message appears 3 times (e.g. "is invalid is invalid is invalid" for email address)
  • for edit Course, the error message is in black, even though the error message class (.field_with_errors .message) is red

@rafd
Copy link
Member Author

rafd commented Jun 1, 2011

push what you have, and add these issues as new issues

@fionatran fionatran reopened this Jun 1, 2011
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

2 participants