Skip to content

Commit

Permalink
Merge pull request #868 from rohan-cce/main
Browse files Browse the repository at this point in the history
added phone number validation
  • Loading branch information
PriyaGhosal authored Oct 30, 2024
2 parents 3973afc + fa045cd commit 03f9288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion careers.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h2 class="text-center mb-5 fw-bold">Apply for Internship</h2>
</div>
<div class="form-group mb-3">
<label class="fw-bold" for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" maxlength="50" required>
<input type="tel" id="phone" name="phone" pattern="[0-9]+" maxlength="50" required title="Please enter only digits">
</div>
<div class="form-group mb-3 my-4">
<label for="position" class="fw-bold">Position:</label>
Expand Down

0 comments on commit 03f9288

Please sign in to comment.