Skip to content

Commit fc8488d

Browse files
committed
change the pattern in name form to accept two caracters separated by a space
1 parent 9420646 commit fc8488d

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
@@ -18,7 +18,7 @@ <h1>Product Pick</h1>
1818
<form>
1919
<div>
2020
<label for="full-name">Name</label>
21-
<input type="text" id="full-name" name="full-name" required minlength="2" pattern=".*\S,*\S.*"
21+
<input type="text" id="full-name" name="full-name" required minlength="2" pattern=".*\S.*\S.*"
2222
title="Please enter at least two nonspace characters">
2323
</div>
2424
<div>

0 commit comments

Comments
 (0)