Skip to content

Commit 1a00ba2

Browse files
committed
update: updated regext pattern
1 parent 20dbfec commit 1a00ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form-Controls/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>Product Pick</h1>
2020
<div>
2121
<label for="name">Name:
2222
<input type="text" id="name" name="name" minlength="3" maxlength="15" autocomplete="name"
23-
placeholder="enter your name" pattern="^\S+$" required>
23+
placeholder="enter your name" pattern=".*\S.*" required>
2424
</label>
2525
</div>
2626
<br>

0 commit comments

Comments
 (0)