The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Basic ajax signup form with a twist

Highlighted
Regular Visitor

Basic ajax signup form with a twist

Hi there,

 

I'm putting together an admin panel for my small company as I am tired of having to go everywhere to do anything so I am looking at having everything situated with the one UI. (simple html page)

 

One thing I am looking at doing is having the ability to add an email address to a specific list on my constant contact account. (basic sign up)

 

What I don't want is to have to reconfirm the subscription everytime with a pop-up.


is there a simple way to do this using api and ajax? 

 

i.e. I enter the email and hit submit and it automatically adds to the list without confirming. 

1 REPLY 1
Highlighted
Moderator

Re: Basic ajax signup form with a twist

Hey there,

 

You can definitely create an AJAX interface to use our API, but you'll need a back-end web language to make the connection to our domain, as browser security settings won't allow info to be passed from one domain to another using only AJAX. We have some libraries and code samples for some of the more popular web languages to make things easier.

Nick Galbraith
Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured