WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Constant Contact
using checkboxes to subscribe to multiple forms (5 posts)

  1. Bozz
    Member
    Posted 2 years ago #

    How would I go about having checkboxes for 5 different mailing lists in the same constant contact enabled gravity form? This way we can have one form and users could select 1,2,3,4 or all mailing lists.

    i.e.

    Select mailing lists you want to subscribe to
    [x] mailing list 1
    [ ] mailing list 2
    [x] mailing list 3
    [ ] mailing list 4
    [ ] mailing list 5

    Here is an image that explains the workflow logic necessary to work around the 409/user already subscribed issue: http://community.constantcontact.com/t5/image/serverpage/image-id/2181iFBF1920D7BCE005A/image-size/original?v=mpbl-1&px=-1

    Any suggestions would be gladly received, thanks!

    http://wordpress.org/extend/plugins/gravity-forms-constant-contact/

  2. Bozz
    Member
    Posted 2 years ago #

    Does this plugin utilize the PHP wrapper? Maybe this would be fairly simple. From CC support:

    If you were to use our PHP Wrapper Library, there's actually a few functions built in that would make this easier than modifying an existing application. This would be some of the code to use.

    [Ccode moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    You'll want to be careful when doing this type of call, however. There's no way to verify that the person entering in the email address is the actual owner of that address, so that opens up a small risk of list poisoning. Hope that helps!

  3. JezHK
    Member
    Posted 2 years ago #

    I'm also trying to do this - now waiting for over 2 weeks for a response (i know 2.0.2 is available but with no ability to auto update I'm waiting to see if any one else has problems before trying the installation om my dev server as I cant test the cc form submission from there anyway).

    Bozz if you find a way past this please post something in here - I'm tracking this thread. (at the moment I'm having to back fill any people subscribing to a 2nd list in constant contact which is far from efficient)

    Thanks!

  4. Bozz
    Member
    Posted 2 years ago #

    First, if you can't auto-update, try deactivating the plugin. The auto update found 2.02 when I did this.

    Unfortunately the best I've been able to do is send Interest information via Custom Fields, so these subscribers will still need to be added manually via occasional search and add operations in the CC backend.

    I haven't dug into this further, but apparently we are limited based on whether this plugin using the POST vs PUT method for communicating with the Constant Contact API.

    More from CC support:

    The designation of which lists the contacts will go into has to be setup in your signup form and the script on your site that accepts the data from your form and submitted the API request has to convert whatever your form feeds it into a valid API request that is structured correctly to add the contact with the selected list membership information, and includes authentication information for the account the contacts are being added to.

    This request has to be made using HTTP PUT method to update list membership to contacts already on some of your active contacts lists in Constant Contact, as HTTP POST method request to our API only works to create new contacts, who are not already on any active contact lists in your account.

    It would still be very welcome for this plugin to allow certain fields to pass information on which mailing lists the contact should be added to.

  5. Zack Katz
    Member
    Plugin Author

    Posted 2 years ago #

    This will be added in future versions. I welcome user-contributed code!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic