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

WTH - Dashboard: Study Level Activity Add Validation to 'Time' Data #423

Merged

Conversation

wtholt
Copy link
Contributor

@wtholt wtholt commented May 26, 2016

I added validation for time with regular expression to only allow submissions up to 2 digits after decimal point.
Also, added validation to ensure the numericality and that the number is greater than zero.
Wrote corresponding specs to test for multiple scenarios.

I added validation for time with regular expression to only allow submissions up to 2 digits after decimal point.
Also, added validation to ensure the numericality and that the number is greater than zero.
Wrote corresponding specs to test for multiple scenarios.
@wtholt wtholt force-pushed the wth-study-level-activity-add-validation-to-time-data branch from 5f92c9d to c5cc83f Compare May 26, 2016 17:39
@amcates amcates merged commit 01b9a99 into master May 27, 2016
@amcates amcates deleted the wth-study-level-activity-add-validation-to-time-data branch May 27, 2016 16:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants