Skip to content

Commit 096737f

Browse files
committed
Add required pattern name input
1 parent d88ce19 commit 096737f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,13 @@ <h1>Product Pick</h1>
5050

5151
<fieldset id="customer-info">
5252
<legend>Customer info</legend>
53+
<label for="name">Name</label>
54+
<input type="text" required pattern=".*\S.*\S.*" />
5355
</fieldset>
5456
<fieldset id="tshirt-info">
5557
<legend>T-shirt info</legend>
5658
</fieldset>
5759

58-
5960
</form>
6061
</main>
6162
<footer>

0 commit comments

Comments
 (0)