I've been looking for the sample code for this but haven't find on yet.
Could you please help me find a method or exact sample code that will do the following:
I have a regular "contact us" form and some other forms that corrects my customer's name, email address etc. In these forms, I'd like to add a check box that says "Please add me to your e-newsletter" and if this check box button is added, this customer's name, email address will be opted-in (adds to constant contact database).
How to accomplish this task? I'd so appreciate your help.
In order to do this you will want to add a check box to your form and then you can use our Contact Collection API to add the contact to the selected lists. In order to provide more information though, it would be best to see your current code, or at least know what programming language you are using. Please send the code to the webservices support team, so that we can help you further.
You can also find examples of how to do this in ASP.NET, PHP, and ColdFusion in our sample packs located here. We also have a custom sign up form that is created using PHP, that you can download here, that has this functionality already built in.
If you have any additional questions, please let me know.
View API documentation, code samples, get your API key.Visit Page
We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...Read More