Skip to content

Commit 181ea79

Browse files
committed
Name pattern added
1 parent bdc3f78 commit 181ea79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>T-shirt Order Form</h1>
2020

2121
<div>
2222
<label for="name">Full Name</label>
23-
<input id="name" name="name" type="text" minlength="2" placeholder="First Name Surname" required>
23+
<input id="name" name="name" type="text" minlength="2" placeholder="First Name Surname" pattern="[A-Za-z ]{2,}" required>
2424
</div>
2525

2626
<div>

0 commit comments

Comments
 (0)