Skip to content

Commit dbd3c48

Browse files
committed
Added "*" before my first "." in name pattern
1 parent 598ba35 commit dbd3c48

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
@@ -16,7 +16,7 @@ <h1>Product Pick</h1>
1616

1717
<div>
1818
<label for="name">Name:</label>
19-
<input type="text" name="name" id="name" placeholder="Full name" required pattern=".\S.*\S.*">
19+
<input type="text" name="name" id="name" placeholder="Full name" required pattern=".*\S.*\S.*">
2020
</div>
2121

2222
<div>

0 commit comments

Comments
 (0)