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.

Email Form

Highlighted
Occasional Contributor

Email Form

Is there an easy way to create a php email form from this form that adds contacts to my list? I am having trouble trying to figure out how to get the answers "printed" on my email. 

3 REPLIES 3
Highlighted
Honored Contributor

Re: Email Form

Hello,

 

I would be happy to help you extract the information from your forms so that you can send a simple PHP email after someone fills out your form. The easiest way to do this is to use the built-in PHP mailer.

 

In order to provide assistance with how to get the answers from your form to your email, I will need to know which PHP form you are building your script from. Please feel free to include any other questions that you have with your response as well!

 

Sincerely,

Elijah G.

API Support Specialist

Elijah G.
API Support Engineer
Highlighted
Occasional Contributor

Re: Email Form

I am using the ccsfg API to create the form and I just pasted it into Wordpress the link to the page I am working on is http://theswagsociety.com/questionnaire. The problem that I am having is the checkboxes I can't figure out how to email what the user has selected. Any help would be greatly appreciated.
Highlighted
Honored Contributor

Re: Email Form

Hello,

 

In order to get the info for the lists, you will want to look for this comment in the CCSFG's signup/index.php file:

// ## PROCESS LISTS ## //

 

 This section collects info about what lists are selected, so you can modify the code to save the information that you want to second variable. That will allow you to use the list info(Names and IDs) in other places as well.

 

Please feel free to reply to this post if you have additional questions!

 

Sincerely,

Elijah G.

API Support Specialist

Elijah G.
API 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