neilfr / Scorekeeper

Hockey scorekeeper application that simplifies game data capture, provides real-time updates and replaces the need for hardcopy scoresheets
https://ancient-headland-43747.herokuapp.com/
1 stars 1 forks source link

Input validation for all forms #78

Open chrisfernandes123 opened 5 years ago

chrisfernandes123 commented 5 years ago

@gurneet33 Can you work on the input validation? These would be error messages to the user if certain mandatory fields are blank or have invalid values. This is also enforcing certain types of data (length restrictions, data type restrictions i.e. not allowing a number in a text only field, etc.) It would also include validations such as a team cannot play itself on the Game Manager. Could you also work on UX (user experience) tasks such as ensuring there is a back button on every applicable page, etc.

chrisfernandes123 commented 5 years ago

Assigned to Gurneet.

gurneet33 commented 5 years ago

working on the date validation should push this part in another hour

gurneet33 commented 5 years ago

Added the validations. Also made changes to gameManager.js and teamManager.js . Please review them.