Skip to content

[BUG]: Contact form accepts invalid name formats #1462

Description

@aayan-rashid

Bug Description

The Contact Us form accepts invalid values in both the Name field.

Specifically:

  • The Name field accepts abc!.

These values should be rejected by frontend validation before the form can be submitted.

Steps To Reproduce

  1. Go to the Contact Us page.
  2. Enter abc! in the Name field.
  3. Fill in the remaining required fields.
  4. Click Send Message.
  5. Observe that the form accepts the values.

Expected Behavior

  • The Name field should reject names containing invalid characters such as !.
  • Appropriate validation messages should be displayed.
  • The form should not be submitted until valid values are provided.

Actual Behavior

  • abc! is accepted as a valid name.
  • The form can proceed with these invalid values.

Affected Area

Frontend — Contact Form / Form Validation

Environment Info

Website: paraline.vercel.app/contact
Browser: Chrome
Operating System: Windows 11

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions