Skip to content

Commit 916353b

Browse files
authored
Update name input pattern to require two non-space characters
1 parent 411591e commit 916353b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>T-Shirt Order Form</h1>
2626
name="name"
2727
required
2828
minlength="2"
29-
pattern=".*\S.*"
29+
pattern=".*\S.*\S.*"
3030
>
3131
</div>
3232

@@ -69,4 +69,4 @@ <h1>T-Shirt Order Form</h1>
6969
</main>
7070

7171
</body>
72-
</html>
72+
</html>

0 commit comments

Comments
 (0)