cancel
Showing results for 
Search instead for 
Did you mean: 
In recognition of the Presidents Day holiday, our Support office will be open with limited availability on Monday 02/18 from 10:00 am - 6:00 pm ET. Check out our Help Center for all the ways to get in touch with us and get help.

PHP Sign-up with multiple Lists Checkboxes v3?

SOLVED
Highlighted
Occasional Contributor

PHP Sign-up with multiple Lists Checkboxes v3?

I'm an API noob. I have 88 lists that a user can choose from when signing up. I'd like to organize the lists into groups on the signup form with headers. I think that means I need to use the API. Is there PHP sample code for this already? 

 

If possible, I'd like to simplify the list names on my custom form, without changing how they display in my Constant Contact admin screen (I named them with prefixes for sorting purposes). 

 

I have a similar post, but I'd like to do more than what is included with a normal sign-up form:

 

https://community.constantcontact.com/t5/Need-help-with-something-else/Allow-users-sign-up-for-multi...

2 REPLIES 2
Moderator

Re: PHP Sign-up with multiple Lists Checkboxes v3?

Hi @UtahD,

 

The answer from your other post is referring to using our in-line forms of which there is no ability to alter how the lists appear on the form.

 

If you want to control that as much as you indicate then you can use our API to create your own custom sign-up form. Both our v2 and v3 APIs have example PHP to show how to use them. The v2 API has a sign-up form example code already that you could probably adapt.

 

As for the list names you can make those whatever you want them to be on your sign-up form without altering the list names in your Constant Contact account. The API would use a listID to identify the contact list in your account and the name that appears on your sign-up form is completely up to you.

 

Take a look at our v2 API documentation. v2: https://developer.constantcontact.com

Here are our SDKs and sample codes.

https://developer.constantcontact.com/libraries/libraries.html

https://developer.constantcontact.com/libraries/sample-code.html


Regards,
Jimmy D.
Tier II API Support Engineer
Occasional Contributor

Re: PHP Sign-up with multiple Lists Checkboxes v3?

Thank you for helping me get started.