Skip Navigation

[Resolved] Toolset form – Mailchimp subscription field?

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to integrate Toolset Form with Mailchimp?

Solution:

There is no automation, but you can use the manual method below:

- Add a checkbox custom field to your posts for your subscriptions.
- Add that field to your form.
- As soon as the post form is submitted that field gets updated.
- Set the post form in a way that as soon as a submission occurs, the admin of the website will be notified by email:
https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/
- Then the admin can see if the option is checked/unchecked in the email and add the customer's email to the Mailchimp list.

This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by melodyM 2 years, 5 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2503595

Is there any way to add a checkbox field to a Toolset form that will subscribe anyone checking it to our Mailchimp mailing list?

We are currently using Contact Form 7 for our application form, but we are trying to replace it with a Toolset Form so that we can use a Post Form to automatically create posts from the form submissions. The only field we haven't been able to duplicate is a checkbox that we have on our Contact Form 7 form that says "Subscribe me your newsletter" and will subscribe the e-mail address of the person submitting the form when checked. This is accomplished through a plugin called "Contact Form 7 Extension For Mailchimp"

If this can't be done, then please consider this a feature request. If you don't provide this functionality, but have any ideas for how it can be achieved, please let me know. We may have to just set up a checkbox field for the person to indicate that they want to be subscribed, but one that doesn't actually do anything. We'd then see if that checkbox is checked in the form submission and we could then manually add them to our Mailchimp list. But it would be much nicer for this to be automated.

#2504829

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

There is no integration between Toolset Forms and Mailchimp.

The easiest way that I can think of is the manual way below:

- Add a checkbox custom field to your posts for your subscriptions.
- Add that field to your form.
- As soon as the post form is submitted that field gets updated.
- Set the post form in a way that as soon as a submission occurs, the admin of the website will be notified by email:
https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/
- Then the admin can see if the option is checked/unchecked in the email and add the customer's email to the Mailchimp list.

The harder way is automation which needs custom development and you need to hire a developer to do so:
https://toolset.com/contractors/

The gist of what the developer will do:

- He/she will use the Toolset hook below to get the information of the customer email, and whether he/she wants to be added to the list on the form submission:
https://toolset.com/documentation/programmer-reference/cred-api/#csd
- He/she will use the Mailchimp API for WordPress to add the email to the group/list that you want in Mailchimp.

Thanks.

#2505161

My issue is resolved now. Thank you!

Understood that we need to get a contractor for this one. We'll explore that option for automating this or we'll just stick to the easily done manual approach.

But please do add integration with Mailchimp to any feature request lists that you have as I think that would be a popular addition.