Closed sarahyjja closed 5 years ago
[x] Should display a message if info are incomplete or wrong
[x] See the CSS
[x] Add alert message to pop up when user enters wrong postcode format (regex)
[x] You can pass a case insensitive flag to regex so you don't have to parse to upper case https://github.com/fac-17/Where-Should-We-Meet/blob/4eba6f8ed1ffd7bea849f0fd1315d0883be01e28/public/js/userForm.js#L89
[x] Give alert message if date/time is in the past
Error handling :
[x] Should display a message if info are incomplete or wrong
[x] See the CSS
[x] Add alert message to pop up when user enters wrong postcode format (regex)
[x] You can pass a case insensitive flag to regex so you don't have to parse to upper case https://github.com/fac-17/Where-Should-We-Meet/blob/4eba6f8ed1ffd7bea849f0fd1315d0883be01e28/public/js/userForm.js#L89
[x] Give alert message if date/time is in the past