Skip to content

Commit

Permalink
fix name field
Browse files Browse the repository at this point in the history
  • Loading branch information
akash70629 authored Oct 17, 2024
1 parent 7cc1e76 commit f95df26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,9 @@ <h2 class="mb-4">Contact Us</h2>
<div class="col-md-4">
<div class="form-floating">
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name"
required>
required pattern="[a-zA-Z ]+"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')">
<label for="name">Your Name</label>
</div>
</div>
Expand Down

0 comments on commit f95df26

Please sign in to comment.