Skip to content

Commit

Permalink
fix contact us input
Browse files Browse the repository at this point in the history
  • Loading branch information
akash70629 committed Oct 13, 2024
1 parent 2c85bf4 commit fdcf186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5083,7 +5083,8 @@ <h3 style="text-align: center; color: #A30F17;">GET IN TOUCH</h3>
<div class="contact-container">
<form class="contact-form" id="contactForm" style=" width: 500px;">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
<input type="text" 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="email">Email</label>
<input type="email" id="email" name="email" placeholder="[email protected]" required>
Expand Down

0 comments on commit fdcf186

Please sign in to comment.