Skip to main content
Solved

Legacy form error "invalid email address"

  • December 2, 2021
  • 4 replies
  • 455 views

Forum|alt.badge.img+2

I connected a form to klaviyo using Legacy Forms and for some reason I keep getting “invalid email address” every time I submit the form, but everything looks correct. I’m not sure what’s going on. The form can be viewed here: https://new-imaware.webflow.io/b2b/employee-covid-screening by clicking “Get in touch”. Thank you in advance!

Best answer by jallain

hey @arianavmac ! can you try changing the email input in the form html. the name attribute should be lowercase “email” and it looks like you have uppercase “Email”

change this

<input type="email" class="w-input" maxlength="256" name="Email" data-name="Email" placeholder="" id="k_id_email" required=""/>

to this

<input type="email" class="w-input" maxlength="256" name="email" data-name="Email" placeholder="" id="k_id_email" required=""/>

 

let me know if making that change fixes it for you!

View original
Did this topic or the replies in the thread help you find an answer to your question?

stephen.trumble
Forum|alt.badge.img+60

Hey @arianavmac

Thank you for reaching out to the Klaviyo Community for help with your Legacy Signup form. Happy to help!

I took a look at your website, specifically your legacy signup pop up form. I tested the form and did not get the error you received. Can you check the list to see if my name was added?


Forum|alt.badge.img+2
  • Problem Solver I
  • December 3, 2021

No it wasn’t added. I see that error by looking at the console, it logs “Incorrect email address” there. I’m really not sure what’s going on


Forum|alt.badge.img+2
  • Problem Solver I
  • December 3, 2021

@jallain are you able to help me with this? You’ve been super helpful in the past so I thought I’d ask. Thanks again!


jallain
Klaviyo Employee
Forum|alt.badge.img+11
  • Klaviyo Employee
  • December 3, 2021

hey @arianavmac ! can you try changing the email input in the form html. the name attribute should be lowercase “email” and it looks like you have uppercase “Email”

change this

<input type="email" class="w-input" maxlength="256" name="Email" data-name="Email" placeholder="" id="k_id_email" required=""/>

to this

<input type="email" class="w-input" maxlength="256" name="email" data-name="Email" placeholder="" id="k_id_email" required=""/>

 

let me know if making that change fixes it for you!