Skip to content

Commit

Permalink
validation added
Browse files Browse the repository at this point in the history
  • Loading branch information
akash70629 committed Nov 6, 2024
1 parent 97733ee commit 00e3806
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 @@ -387,11 +387,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 00e3806

Please sign in to comment.