Support » Plugin: MC4WP: Mailchimp for WordPress » Contact From 7 and Mailchimp

  • Resolved ciricmetal

    (@ciricmetal)


    Hello I have problem for connect Contact From 7 and MC4WP. The mailchimp database not is updated. I need to use CF/ beacause the client wants:

    – Make conditional fields
    – Make different forms and different emails.

    Your plugin is great because mantains the diferent groups as my client has.

    I try to integrate directly the code of MC4WP but doesn’t works. Then I try to do it with the contact form 7 shortcodes. My code in cf7 is:

    <div class="custom-contact-form">
    <div class="row">[text* mc4wp-FNAME placeholder "Nom"]</div>
    <div class="row">[text* mc4wp-LNAME placeholder "Cognoms"]</div>
    <div class="row">[email* mc4wp-EMAIL placeholder "Email"]</div>
    <div class="row">[textarea your-message placeholder "Missatge"]</div>
    <div class="row"><label>Accepto rebre informació sobre cursos, serveis i notícies de XXformació</label>
    <p>[radio grupcondicional default:1 "Si" "No"]</p>
    </div>
    [group block_grups]
    <div class="row"><label>Grups d'interés (pots sel·leccionar més d'un si vols)</label>
    <div>
    [checkbox mc4wp-INTERESTS[d329b78ecc] "Informàtica i tecnologia|88a6912042" "Gestió econòmica i administrativa|7369ced633 " "Habilitats directives i recursos humans|0bacae9359" "Seguretat privada|d70ec80c7e" "Comerç, Marquèting i vendes|e06074f0ba" "Idiomes|147084ad36" "Formació per a formadors|2d081dce89" "Manipulació d’aliments i seguretat alimentària|dfed8466aa"]
    </div></div>
    [/group]
    <div class="row">[checkbox* politica "És necessari que accepti la nostra política de privacitat, perquè per a poder respondre’l, hem de tractar informàticament les seves dades. En cap cas, amb l’acceptació de la política de privacitat ens està autoritzant a utilitzar les seves dades amb finalitats publicitàries. "] <a href="/privacitat/" target="_blank">Política de privacitat</a></div>
    [honeypot honeypot-983]
    [submit class:btn-default "Enviar missatge"]
    
    </div>

    The problem is with the groups if i put the name as mc4wp-INTERESTS[d329b78ecc] the checkbox not are rendered correctly. If I put mc4wp-INTERESTSd329b78ecc the value doesn’t accept the label value pair, an renders the label as value and label. And I think that’s what don’t inscribe me to mailchimp.

    • This topic was modified 1 year, 7 months ago by ciricmetal.
    • This topic was modified 1 year, 7 months ago by ciricmetal.
    • This topic was modified 1 year, 7 months ago by ciricmetal.
    • This topic was modified 1 year, 7 months ago by ciricmetal.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi,

    Note that you can make conditional fields within our plugin as well:
    https://www.mc4wp.com/kb/conditional-fields-elements/

    And with our Premium add-on you can make multiple forms with different lists and fields. That will also give you the option to use it as a contact form / email the website owner as soon as the form is submitted. And it will be more stable in regards to MailChimp submission as the integration methods never really get to know the status of the submission if there is some error for example.
    http://mc4wp.com/pricing

    Here is how to add groups to a CF7 form:
    https://www.mc4wp.com/kb/add-interest-group-choice-contact-form-7/

    Hope that helps. If you have any questions, please let me know!

    Thread Starter ciricmetal

    (@ciricmetal)

    Hello. Thanks for the answer. We don’t can use only your plugin for send emails, because we need both the power of your plugin and the power of contact form 7.

    We try this code

    <div class="custom-contact-form">
    <div class="row">[text* mc4wp-FNAME placeholder "Nom"]</div>
    <div class="row">[text* mc4wp-LNAME placeholder "Cognoms"]</div>
    <div class="row">[email* mc4wp-EMAIL placeholder "Email"]</div>
    <div class="row">[textarea your-message placeholder "Missatge"]</div>
    <div class="row"><label>Accepto rebre informació sobre cursos, serveis i notícies de XXformació</label>
    <p>[radio grupcondicional default:1 "Si" "No"]</p>
    </div>
    [group block_grups]
    <div class="row"><label>Grups d'interés (pots sel·leccionar més d'un si vols)</label>
    <div>
        <label>Àrees formatives</label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="88a6912042" checked="true"> <span>Informàtica i tecnologia</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="7369ced633" checked="true"> <span>Gestió econòmica i administrativa</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="0bacae9359" checked="true"> <span>Habilitats directives i recursos humans</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="d70ec80c7e" checked="true"> <span>Seguretat privada</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="e06074f0ba" checked="true"> <span>Comerç, Marquèting i vendes</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="147084ad36" checked="true"> <span>Idiomes</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="2d081dce89" checked="true"> <span>Formació per a formadors</span>
        </label>
        <label>
            <input name="mc4wp-INTERESTS[d329b78ecc][]" type="checkbox" value="dfed8466aa" checked="true"> <span>Manipulació d’aliments i seguretat alimentària</span>
        </label>
    </div><div>
        <label>Empreses</label>
        <label>
            <input name="mc4wp-INTERESTS[235c4f8a4f][]" type="checkbox" value="d93d179105" checked="true"> <span>Formació per empreses</span>
        </label>
    </div></div>
    [/group]
    <div class="row">[checkbox* politica "És necessari que accepti la nostra política de privacitat, perquè per a poder respondre’l, hem de tractar informàticament les seves dades. En cap cas, amb l’acceptació de la política de privacitat ens està autoritzant a utilitzar les seves dades amb finalitats publicitàries. "] <a href="/privacitat/" target="_blank">Política de privacitat</a></div>
    [honeypot honeypot-983]
    [submit class:btn-default "Enviar missatge"]
    
    </div>

    but anything is stored in mailchimp, we reciebe the mail form contact form 7.

    This is the code from your plugin.

    <p>
        <label>Nom</label>
        <input type="text" name="FNAME" required="">
    </p>
    <p>
        <label>Cognoms</label>
        <input type="text" name="LNAME" required="">
    </p>
    <p>
    	<label>Email address: </label>
    	<input type="email" name="EMAIL" placeholder="Your email address" required />
    
    </p>
    <p>
        <label>Àrees formatives</label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="88a6912042"
            checked="true"> <span>Informàtica i tecnologia</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="7369ced633"
            checked="true"> <span>Gestió econòmica i administrativa</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="0bacae9359"
            checked="true"> <span>Habilitats directives i recursos humans</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="d70ec80c7e"
            checked="true"> <span>Seguretat privada</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="e06074f0ba"
            checked="true"> <span>Comerç, Marquèting i vendes</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="147084ad36"
            checked="true"> <span>Idiomes</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="2d081dce89"
            checked="true"> <span>Formació per a formadors</span>
        </label>
        <label>
            <input name="INTERESTS[d329b78ecc][]" type="checkbox" value="dfed8466aa"
            checked="true"> <span>Manipulació d’aliments i seguretat alimentària</span>
        </label>
    </p>
    <p>
        <label>Empreses</label>
        <label>
            <input name="INTERESTS[235c4f8a4f][]" type="checkbox" value="d93d179105"
            checked="true"> <span>Formació per empreses</span>
        </label>
    </p>
    
    <p>
    	<input type="submit" value="Sign up" />
    </p>
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @ciricmetal,

    Please go to the “MC4WP > Others” menu and share with us any errors listed there.

    Thread Starter ciricmetal

    (@ciricmetal)

    Hi all,

    Not showing anything…”– Nothing here. Which means there are no errors!” and debug log level is “everything”.

    The form was submit successfully, but doesn’t subscribe in mailchimp list / groups.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @ciricmetal,

    Can you please go to the “MC4WP > Integrations” menu, click on “Contact Form 7” and share a screenshot?

    Thread Starter ciricmetal

    (@ciricmetal)

    Hi!

    http://cemformacio.net/mc4wp.png

    Any idea? :S
    If you have more details or access, let me know.
    Thanks a lot Harish!

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @ciricmetal.

    The link you shared did not load. Are you able to see the image?

    Thread Starter ciricmetal

    (@ciricmetal)

    Hi all,
    Don’t worry, i find the solution (i think!! :S).
    The certificate SSL not loading correctly and now, works fine.
    Thanks a lot for your support guys!!
    BR.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @ciricmetal,

    Thanks for the update. I’m glad this is resolved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Contact From 7 and Mailchimp’ is closed to new replies.