• I got a CF7 form, i put [mc4wp_checkbox “Label text”] code in this form to subscribe people on my mailing list…
    But it doesn’t works…
    I put in the email CF7 send to me the shortcode [mc4wp_checkbox] to see if the option is selected or not and there i found the problem:

    Never mind if mc4wp_checkbox is checked or not checked, the shortcode [mc4wp_checkbox] always shows me NO in the email and i think that’s the problem why no one subscribe to the mailing list.

    Can someone help me?
    Thanks

    Nicola

    https://ww.wp.xz.cn/plugins/mailchimp-for-wp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Nicola,

    That is strange, can you please post your complete CF7 form mark-up please? Also, do you have a link to your form so I can take a closer look?

    mother.of.code

    (@imazed)

    The Mother of Code

    Hi!

    What fields are you trying to pass on to MailChimp? Can you show us which code you’re using? We might be able to offer some more insight if you show us what you’ve used.

    Thread Starter acrobat-service

    (@acrobat-service)

    this is the cf7 form:

    <div class="column one-third"><label>Nome:</label>[text* FNAME]</div>
    <div class="column one-third"><label>Cognome:</label>[text* LNAME]</div>
    <div class="column one-third"><label>Indirizzo Email:</label>[text* EMAIL]</div>
    <div class="column one-half"><label>Nome azienda:</label>[text* COMPANY]</div>
    <div class="column one-half"><label>Paese:</label>[text* COUNTRY]</div>
    <div class="column one"><label>Messaggio:</label>[textarea* your-message]</div>
    <div class="column one">&nbsp;&nbsp;&nbsp;Leggi <a href="/privacy/">l'informativa sulla privacy</a>[checkbox* checkbox-875 "Acconsento all'utilizzo dei miei dati per essere ricontattato"]</div>
    [checkbox* mc4wp_checkbox "Newsletter"]
    <div class="column one">[submit "Invia Messaggio"]</div>

    the link to the form is this:
    http://www.easymac.it/contatti/

    Thanks for help

    mother.of.code

    (@imazed)

    The Mother of Code

    Hi acrobat-service,

    If you want any other fields other than FNAME, LNAME and EMAIL to go through to MailChimp, you need to preprend the names with mc4wp-. Check out our Knowledge Base article here!

    Thread Starter acrobat-service

    (@acrobat-service)

    Done… now my form is this

    <div class="column one-third"><label>Nome:</label>[text* mc4wp-FNAME id:FNAME]</div>
    <div class="column one-third"><label>Cognome:</label>[text* mc4wp-LNAME id:LNAME]</div>
    <div class="column one-third"><label>Indirizzo Email:</label>[text* mc4wp-EMAIL id:EMAIL]</div>
    <div class="column one-half"><label>Nome azienda:</label>[text* mc4wp-COMPANY id:COMPANY]</div>
    <div class="column one-half"><label>Paese:</label>[text* mc4wp-COUNTRY id:COUNTRY]</div>
    <div class="column one"><label>Messaggio:</label>[textarea* your-message]</div>
    <div class="column one">&nbsp;&nbsp;&nbsp;Leggi <a href="/privacy/">l'informativa sulla privacy</a>[checkbox* checkbox-875 "Acconsento all'utilizzo dei miei dati per essere ricontattato"]</div>
    [checkbox* mc4wp_checkbox "Newsletter"]
    <div class="column one">[submit "Invia Messaggio"]</div>

    Still doesn’t works… and the shortcode [mc4wp_checkbox] still shows me NO even if checked

    mother.of.code

    (@imazed)

    The Mother of Code

    You still have an error in your form (sorry, I didn’t see it before!). The checkbox needs to be put in like so:

    [mc4wp_checkbox "My custom label text"]

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CF7 and subscribe checkbox issue’ is closed to new replies.