Closed BekahT closed 4 years ago
Trying to put something invalid in the create client window causes a pop up window instead of a red error message to appear and when you close the pop up the entire create client window disappears so the user has to start over. Should be a red error message and user stays on the same page.
What are the invalid character list we are using? I feel like this should be okay...
There isn't validation on the phone number and formatting isn't present
Clicking submit with missing fields doesn't result in same type of error message as invalid field values (in console instead)
Trying to put something invalid in the create client window causes a pop up window instead of a red error message to appear and when you close the pop up the entire create client window disappears so the user has to start over. Should be a red error message and user stays on the same page.
Just fixed both issues in features-new branch
Phone number validation is still not right - I can submit an empty phone number and when an invalid number is entered (less than 10 numbers) an incorrect error message is displayed.
Resolved phone number validation in https://github.com/BekahT/VetApp/pull/44
Staff can add a new client with first name, last name, phone number, and email address.