Skip to content

feat: Add Success Message and Form Validations to Appointment Form#21

Open
akshay0611 wants to merge 1 commit intocodewithsadee:masterfrom
akshay0611:feature/add-success-message-and-form-validations
Open

feat: Add Success Message and Form Validations to Appointment Form#21
akshay0611 wants to merge 1 commit intocodewithsadee:masterfrom
akshay0611:feature/add-success-message-and-form-validations

Conversation

@akshay0611
Copy link

Summary:
This PR adds a success message and form validations to the appointment form to improve user experience. The changes aim to ensure valid inputs and provide feedback upon successful submission.

Changes Made:

  • Added HTML5 validation attributes (pattern, required, min) to form fields.
  • Included JavaScript to validate inputs and display alerts for invalid fields.
  • Added a success message that appears after form submission.
  • Ensured alignment with existing CSS styles and framework conventions.

Testing:

  • Verified responsiveness across different screen sizes.
  • Tested form validations to ensure invalid inputs trigger appropriate alerts.
  • Ensured proper rendering of the success message and form reset functionality.

Related Issue:
Closes #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add Success Message and Form Validations to Appointment Form

1 participant