MIS-565 / MIS-565-FrontEnd

Front end development for project
https://mis-565-front-end.vercel.app
0 stars 0 forks source link

As a front end developer I am developing an Add Patron page so the user can checkout a new patron .(Ravi) #60

Open KanVR opened 6 days ago

KanVR commented 6 days ago

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:

KanVR commented 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