WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp for WordPress
[resolved] [closed] Check box for contact form? (5 posts)

  1. Kymmi
    Member
    Posted 1 year ago #

    Hi there,
    Just wondering if there are any contact forms that are compatible with this plugin to have the checkbox added to it? I don't use a registration form, but if I could add this checkbox to my contact form that would be awesome :)

    Sorry, I'm not too savvy with all of this stuff, but seem to be finding my way though it :)

    Thanks in advance
    ~Kym.

    http://wordpress.org/extend/plugins/mailchimp-for-wp/

  2. Danny van Kooten
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kymmi,

    Are you referring to any contact form in particular? The plugin doesn't work with any other forms other than the registration, BuddyPress and MultiSite form yet but I will look into this.

    Danny

  3. Danny van Kooten
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Kym,

    As of a few weeks ago, my plugin now works with other contact forms.

    You can include the following piece of HTML in ANY form and the plugin will try to figure out the rest.

    <input type="checkbox" name="mc4wp-try-subscribe" value="1" /><label>Sign up for our newsletter?</label>

    By default, the plugin only searches for an email and a name field. If you want to send some merge vars as well, please read the FAQ for how to name your merge fields.

    Good luck!

    PS. for Contact Form 7, you can use [mc4wp_checkbox "Your label text"] inside your CF7 form template. :-)

  4. WP_Newbie23
    Member
    Posted 11 months ago #

    I created a CF7 form which asks for user information and then added the checkbox to my form using the code you provided. How do I then grab the input from the form and automatically add it to the mailchimp list database? It seems that I am missing a step here.
    Thanks!

  5. Danny van Kooten
    Member
    Plugin Author

    Posted 11 months ago #

    Hi there,

    You don't need to do anything. Just add [mc4wp_checkbox] to your CF7 form template and my plugin will figure out the rest. :-)

    By default it will look for an email and a name field and send this to MailChimp. If your lists requires more fields, prefix the name of those fields with mc4wp- so my plugin knows to send these fields as well.

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic