Skip to content

Commit

Permalink
Merge pull request #765 from akash70629/Experience-form
Browse files Browse the repository at this point in the history
FIX : "Rate your experience" Form - Name Field Validation
  • Loading branch information
PriyaGhosal authored Oct 15, 2024
2 parents 0dc2a17 + 1e04f97 commit cdcd8a5
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 @@ -1000,7 +1000,9 @@ <h2 style="color: #0057B3;" id="h1darkbtn">Rate your experience</h2>
<div style="margin-top: 20px">
<form class="form" id="reviewForm">
<label for="name" id="darkbtn">Your Name:</label>
<input type="text" id="name" name="name" required />
<input type="text" id="name" name="name" required required pattern="[a-zA-Z ]+"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')"/>

<label for="destination" id="darkbtn">Destination/Service:</label>
<input type="text" id="destination" name="destination" required />
Expand Down

0 comments on commit cdcd8a5

Please sign in to comment.