diff --git a/src/components/custom/LeadForm.astro b/src/components/custom/LeadForm.astro index eae16b30..c313dd6a 100644 --- a/src/components/custom/LeadForm.astro +++ b/src/components/custom/LeadForm.astro @@ -40,7 +40,7 @@ spellcheck="false" maxlength={511} required - pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?" + pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:a-z0-9?\.)+a-z0-9?" /> diff --git a/src/components/custom/NewsletterForm.astro b/src/components/custom/NewsletterForm.astro index d0ae609a..828898d5 100644 --- a/src/components/custom/NewsletterForm.astro +++ b/src/components/custom/NewsletterForm.astro @@ -29,7 +29,7 @@ maxlength={511} placeholder="This will remain private." required - pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?" + pattern="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:a-z0-9?\.)+a-z0-9?" />