Skip to content

Commit

Permalink
Merge pull request #1000 from akash70629/name
Browse files Browse the repository at this point in the history
🛠️FIX : Contact us page name and email field validation added
  • Loading branch information
ankit071105 authored Nov 6, 2024
2 parents aca66e2 + 00e3806 commit 6e8882a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contactus.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,11 @@ <h1>Contact Us</h1>
<form id="contactForm">
<div class="form-cont">
<label for="name">Your Name:</label>
<input type="text" id="name" placeholder="Enter your full name" required>
<input type="text" id="name" placeholder="Enter your full name" required pattern="[A-Za-z\s]+" title="Please enter a valid name (Without numbers and special characters)">
</div>
<div class="form-cont">
<label for="email">Email Address:</label>
<input type="text" id="email" placeholder="Enter your email" required>
<input type="email" id="email" placeholder="Enter your email" required>
</div>
<div class="form-cont">
<label for="name">Subject:</label>
Expand Down

0 comments on commit 6e8882a

Please sign in to comment.