From d60e871cf09791c5f2da396e605711b71d8f4cdd Mon Sep 17 00:00:00 2001 From: Fayaz Date: Tue, 20 Jan 2026 23:05:29 +0000 Subject: [PATCH 1/2] created the forms for user data --- Form-Controls/index.html | 61 +++++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 65a866cdb..83891efdf 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -13,15 +13,62 @@

Product Pick

- - -
+
+ Order your custom T‑shirt + + + + +

+ + + + +

+ + + + +

+ + + + +

+ + +
+ + +
From 109e2e316deef947547ec6d448c3bbe7e884b1af Mon Sep 17 00:00:00 2001 From: Fayaz Date: Wed, 28 Jan 2026 00:55:11 +0000 Subject: [PATCH 2/2] added the value to each option tags for better validation and replaced pattern attribute with minlength --- Form-Controls/index.html | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/Form-Controls/index.html b/Form-Controls/index.html index 83891efdf..7c1c5db49 100644 --- a/Form-Controls/index.html +++ b/Form-Controls/index.html @@ -22,7 +22,7 @@

Product Pick

id="name" name="name" required - pattern="[A-Za-z ]{2,}" + minlength="3" placeholder="Enter your full name">

@@ -33,29 +33,30 @@

Product Pick

id="email" name="email" required - placeholder="example@email.com"> + placeholder="example@email.com" + minlength="8">