Open KanVR opened 6 days ago
Acceptance Criteria for Add Patron Page:
Form Fields: The page has fields for First Name, Last Name, Address, and Email.
Validation: Required fields (First Name and Last Name) cannot be empty. If Email is entered, it should follow a valid format.
Add Patron Action: When the Submit button is clicked: Patron data is sent to the backend. If successful, the page displays the new patron ID. If there's an error, an alert prompts the user to try again.
Reset Form: After a successful addition, form fields are cleared for adding another patron.
Feedback: A popup or message confirms successful addition, showing the new patron ID
Description:
As a front-end developer, I am developing an Add Patron page so that the user can easily register and check out in the library management system.
Acceptance Criteria: