We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0033f0 commit abae8b4Copy full SHA for abae8b4
1 file changed
Form-Controls/index.html
@@ -16,13 +16,13 @@ <h1>Product Pick</h1>
16
<p>
17
<div>
18
<label for="name">NAME *</label> <!--write customer's name input-->
19
- <input type="text" name="name" id="name" minlength="2" maxlength="20" required>
+ <input type="text" name="name" id="name" minlength="2" maxlength="20" pattern=" [A- Za-z]+" title=" only latters and spaces allowed " required>
20
</div>
21
</p>
22
23
24
<label for="email">Email *</label> <!-- customer's email -->
25
- <input type="email" name="email" id="email" required>
+ <input type="email" name="email" id="email" pattern=" [a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required>
26
27
28
0 commit comments