Skip to content

Commit 1c697fc

Browse files
committed
fix: correct email field validation
1 parent 5ba0ce9 commit 1c697fc

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,23 @@ <h1>Product Pick</h1>
2424
-->
2525
<fieldset>
2626
<legend>Customer Details</legend>
27-
<label for="name">Full Name</label>
27+
28+
<label for="name">Full Name</label>
2829
<input
2930
type="text"
3031
id="name"
3132
name="name"
3233
required
3334
pattern=".*\S.*\S.*"
3435
/>
36+
37+
<label for="email">Email Address</label>
38+
<input
39+
type="email"
40+
id="email"
41+
name="email"
42+
required
43+
/>
3544
</fieldset>
3645

3746
<fieldset>

0 commit comments

Comments
 (0)