From b9be8f41489ec7e954a657b21584a7fcf9462f2e Mon Sep 17 00:00:00 2001 From: GARIMA <141991095+techy4shri@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:29:41 +0530 Subject: [PATCH] Added form validation and reset functionality for feedback form - Added client-side validation for feedback form fields: - Required fields for name, email, and feedback comments - Minimum length check for feedback comments (minimum 4 characters) - Restriction on future dates for event date selection - Implemented reset functionality for star ratings after form submission This change improves user experience by enforcing required fields and ensuring data integrity in the feedback form. --- feed.html | 29 ++++++++++++++++++++++------- feed.js | 22 +++++++++++++++++++++- 2 files changed, 43 insertions(+), 8 deletions(-) diff --git a/feed.html b/feed.html index 1d44041f..9a2d31c9 100644 --- a/feed.html +++ b/feed.html @@ -40,6 +40,7 @@
Rating: 0
Rating: 0
Rating: 0
Rating: 0
Rating: 0