MedStats icon indicating copy to clipboard operation
MedStats copied to clipboard

Contact Page Form Submission Error and No Input Validation

Open hariraghav10 opened this issue 1 year ago • 0 comments

🎇 Description

Issue Description:

The contact page is currently under development, but there is a critical bug that needs immediate attention. The form on the contact page is being submitted to an endpoint with the value "#", which causes a significant issue. When users attempt to submit the form, it results in a broken site experience and leads to a "No Webpage Found" error.

Steps to Reproduce:

  1. Navigate to the contact page on the website.
  2. Fill out the contact form with valid data.
  3. Click on the submit button.

Expected Behavior:

Upon clicking the submit button, the form data should be processed or at least there should be no error encountered. Users should not see a broken page or a "No Webpage Found" error. Whenever the form fields are empty, user should not be able to submit

Actual Behavior:

After clicking the submit button, the site encounters an error due to the form being submitted to an invalid endpoint ("#"). This results in a broken user experience, making it impossible for users to contact us through the website.

🖼 Screenshots

Submitting the form with or without user inputs:

MedStat-before-0

MedStat-before-1

hariraghav10 avatar Oct 31 '23 11:10 hariraghav10