diff --git a/Website/app/contact/page.js b/Website/app/contact/page.js index 0290b1ca..a3d83461 100644 --- a/Website/app/contact/page.js +++ b/Website/app/contact/page.js @@ -27,7 +27,7 @@ export default function contact() { inputMode="text" required placeholder="Name" - pattern="^[A-Za-z\s'-]{5,}$" + pattern="^[a-zA-Z_]{5,}$" title="Please enter at least 5 characters and a - z , A - Z and _ are allowed" className="h-[50px] border pl-3 min-w-[200px] max-md:w-[95%] w-[40%] border-gray-300 rounded-3xl" /> @@ -37,14 +37,12 @@ export default function contact() { required pattern="^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$" id="email" - autoFocus placeholder="Email" title="Please enter a valid email address (e.g., example@domain.com)." />