WordPress.org

Ready to get started?Download WordPress

Forums

MailChimp for WordPress
[resolved] Can't get Merge Fields to work with CF7 (6 posts)

  1. zingerion
    Member
    Posted 10 months ago #

    Hi Danny,

    Your plugin is working great in the sign up form and in CF7 - however, only in the sign up form am I able to submit marge tag values.

    The relevant code in the sign up form:
    <input type="hidden" name="ORIGIN" value="sidebar" />
    in CF7:
    [text mc4wp-ORIGIN class:hidden "contact"]

    Can you see any errors? The CF7 form fails silently, and there is no error notification. When the ORIGIN field is required (in MC settings), then no confirmation email is sent to the user at all. When not required, user may confirm but the field is blank.

    Thanks!

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

  2. Danny van Kooten
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Zingerion,

    Are you using 1.2.1, I added a debug message for the checkbox so when you're logged in as an administrator it should show you a debug message telling you why it failed.

    Your code looks good, so it should work.

  3. zingerion
    Member
    Posted 10 months ago #

    Hi Danny,

    Thanks for your reply. I upgraded to 1.2.1 and submitted the form again, with ORIGIN field required in MC. I now see at the bottom of the form:

    "Validation errors occurred. Please confirm the fields and submit it again."

    Without the field required, the form submits successfully and the field in MC is blank. However, the CF7 email and database entry (via Flamingo) show the field mc4wp-ORIGIN filled properly.

    I also confirmed again that the sign-up form with the ORIGIN field still works.

    If the code is good, and the field is processed by CF7... can you verify on your end that this feature is functioning in the plugin? Perhaps the hidden style is a problem for your parser? Any other ideas?

    Thanks!

  4. Danny van Kooten
    Member
    Plugin Author

    Posted 10 months ago #

    Hi zingerion, do you have a live URL I can take a look at?

  5. Danny van Kooten
    Member
    Plugin Author

    Posted 10 months ago #

    Hi Zingerion,

    Never mind, mistake on my side. Fixed it in version 1.2.2. Nice catch, thanks.

  6. zingerion
    Member
    Posted 10 months ago #

    Confirmed. Awesome. Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic