issues
search
Vedelopment
/
learning-hub
An online tool to connect students and teachers.
1
stars
2
forks
source link
Front End Validations
#47
Closed
Vedelopment
closed
7 years ago
Vedelopment
commented
7 years ago
Assignments:
[x] title: must exist
[x] instructions: optional
[x] assign_date: must exist, must be formatted as date
[x] due_date: must exist, must be formatted as date
[x] duration: optional, must be integer
[x] visible: default to true
Courses:
[x] name: must exist
[x] number: optional, must be integer
Students:
[x] username: must exist, is unique, has at least 3 length
[x] first name: must exist
[x] last name: must exist
[x] email: must exist, is email address
[x] password: must exist, is secure, must be at least 6 characters and include one number and one letter
[x] password: must match on second entry, (confirmation)
Submissions:
[x] content: optional
[x] link: must exist
Teachers:
[x] username: must exist, is unique, has at least 3 length
[x] first name: must exist
[x] last name: must exist
[x] email: must exist, is email address
[x] password: must exist, is secure
Assignments:
Courses:
Students:
Submissions:
Teachers: