cancel
Showing results for 
Search instead for 
Did you mean: 
Tomorrow morning (8/26) from 07:00 AM - 08:00 AM ET we need to make a few updates to our site. During this time, no emails will be sent and some customers will not be able to access their contacts. We recommend finishing up your work before 07:00 AM and logging in after 08:00 AM ET. Thank you for your patience while we make these updates.

How can we add a custom error message if a user does not enter a valid email

How can we add a custom error message if a user does not enter a valid email

We have built a custom Post URL sign up form and want to customize the error message/link. Right now it goes to visitor2.constantcontact.com/api/signup.

 

You can test it here: http://www.cedarsinaipk.dreamhosters.com/shelly-testing-page/

 

What can I add to this html (or javascript) that will either not send the form - and give an error. OR... send to a special page with more information.

Thank you,

 

1 REPLY 1
Highlighted
Moderator

Re: How can we add a custom error message if a user does not enter a valid email

Hello,

 

Thank you for reaching out to Constant Contact API Support. 


The response from the submission will come back with a status and a responseText JSON object. If you are using a custom signup form that uses our inline embedded signup endpoint, you might have success using something similar to the jQuery example on our Tech Blog post about that endpoint: http://techblog.constantcontact.com/api/release-updates/announcing-a-new-signup-form-post-url/

 

Please let me know if you have any other questions!

Regards,
David B.
Tier II API Support Engineer