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.
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.
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.