Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Message Appears Multiple Times Upon Form Submission #8

Open
Kavinesh11 opened this issue Dec 24, 2024 · 3 comments · May be fixed by #18
Open

Error Message Appears Multiple Times Upon Form Submission #8

Kavinesh11 opened this issue Dec 24, 2024 · 3 comments · May be fixed by #18
Assignees
Labels

Comments

@Kavinesh11
Copy link

Description: When the form is submitted with incorrect answers, the error message "You have so much to discover about Tamil Nadu" is appended multiple times instead of appearing just once.

Steps to Reproduce:

Fill out the form with incorrect answers for one or more questions.
Submit the form.
Submit the form again with the same or different incorrect answers.
Expected Behavior: The error message "You have so much to discover about Tamil Nadu" should appear only once, even if the form is submitted multiple times with incorrect answers.

Current Behavior: The error message is appended every time the form is submitted with incorrect answers, leading to multiple duplicate messages.

Severity: Medium
This issue affects the user experience by creating clutter and confusion on the webpage.

Suggested Fix:

Add logic to check if the error message already exists before appending it to the DOM.
Ensure the feedback container is cleared or updated without duplicating messages.
Test the form submission process thoroughly to confirm the error message appears only once in all scenarios.

@SaranDharshanSP
Copy link
Owner

Hey @Kavinesh11 . you've been assigned this issue under Amrita Winter of Code! Please ensure to raise a PR by 29/12/2024, Best of luck! 🫡

A good issue that you have found out.

@Aashiq-Edavalapati
Copy link

@SaranDharshanSP I would like to take the issue if there is no progress

@SaranDharshanSP
Copy link
Owner

@Aashiq-Edavalapati You have been assigned for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants