From 2790a7aa8ac3e14297ac2e5fa98bd9ec1b67ec39 Mon Sep 17 00:00:00 2001 From: Jack Cody Date: Wed, 30 Oct 2024 17:18:18 -0500 Subject: [PATCH] Update email inputs --- _includes/contact_form.html | 4 ++-- _includes/partners/contact.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/contact_form.html b/_includes/contact_form.html index 9a82ff2a5..2bf042f3b 100644 --- a/_includes/contact_form.html +++ b/_includes/contact_form.html @@ -520,11 +520,11 @@

{{ site.data.[page.lang].settings.contact_page.support_request_form.title }} id="email" maxlength="80" name="email" - type="text" + type="email" placeholder="example@example.com" - pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$" required class="usa-input" + autocomplete="email" /> diff --git a/_includes/partners/contact.html b/_includes/partners/contact.html index b5d41e1c8..3d13f2b96 100644 --- a/_includes/partners/contact.html +++ b/_includes/partners/contact.html @@ -65,11 +65,11 @@ id="email" maxlength="80" name="email" - type="text" + type="email" placeholder="example@example.gov" - pattern="^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)+$" required class="usa-input" + autocomplete="email" />