Skip to content

Commit 537aeb3

Browse files
committed
- Added pattern + title attributes to Full Name" section (lines 32-33), ensuring 2 non-space characters requirement
1 parent 01455f7 commit 537aeb3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ <h2>Verify your order and details below:</h2>
2525
<p>
2626
<label
2727
>Full Name:
28-
<input type="text" id="name" name="name" required />
28+
<input
29+
type="text"
30+
id="name"
31+
name="name"
32+
pattern=".*\S.*\S.*"
33+
title="Please enter at least two letters or characters (spaces do not count)."
34+
required
35+
/>
2936
</label>
3037
</p>
3138
</div>

0 commit comments

Comments
 (0)