Skip to content

Commit

Permalink
Merge pull request #1700 from swathivemula7/placeholder
Browse files Browse the repository at this point in the history
Added placeholders in missing fields of "rate your experience" form
  • Loading branch information
PriyaGhosal authored Oct 28, 2024
2 parents f0a0e14 + 273653e commit 72ec618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2838,11 +2838,13 @@ <h2 style="color: #0057B3;" id="h1darkbtn">Rate your experience</h2>
<form class="form" id="reviewForm">
<label for="name" id="darkbtn" style="color: black;">Your Name:</label>
<input type="text" id="name" name="name" required pattern="[a-zA-Z ]+"
placeholder="Enter your name"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')"/>

<label for="destination" id="darkbtn" style="color: black;">Destination/Service:</label>
<input type="text" id="destination" name="destination" required required pattern="[a-zA-Z ]+"
placeholder="Enter your destination or service"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')"/>

Expand Down

0 comments on commit 72ec618

Please sign in to comment.