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 6fca540 commit e54b033
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,9 @@ <h2 class="section-title">
<h3 class="form-title">Share Your Thoughts</h3>
<form id="commentForm" class="form-content">
<div class="input-container">
<input type="text" id="commenterName" class="input-field" placeholder=" " required>
<input type="text" id="commenterName" class="input-field" placeholder=" " required pattern="[a-zA-Z ]+"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')">
<label for="commenterName" class="input-label">Your Name</label>
</div>
<div class="input-container">
Expand Down

0 comments on commit e54b033

Please sign in to comment.