• Resolved Gregory

    (@quanticconseil)


    Hello,

    We have an HTML embed Mailchimp form on multiple pages, and we don’t know how to block it until acceptance. We have successfully managed to block the Mailchimp iframe footer, but not the HTML.

    Could you assist us?

    Below is the HTML code:

    <!-- Begin Mailchimp Signup Form -->
    <link  rel="stylesheet" type="text/css">
    <style type="text/css">
    	#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif;  width:100%;}
    	/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
    	   We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
    </style>
    <style type="text/css">
    	#mc-embedded-subscribe-form input[type=checkbox]{display: inline; width: auto;margin-right: 0px;}
    	#mergeRow-gdpr {margin-top: 0px;}
    	#mergeRow-gdpr fieldset label {font-weight: normal;}
    	#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}
    </style>
    <div id="mc_embed_signup">
        <form action="https://danslarue.us14.list-manage.com/subscribe/post?u=f10d14fb56a1207b520e7035d&amp;id=de9d662344&amp;v_id=1600&amp;f_id=003b99e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
            <div id="mc_embed_signup_scroll">
            <div class="indicates-required"><span class="asterisk">*</span> champs obligatoires</div>
    <div class="mc-field-group">
    	<label for="mce-EMAIL">Adresse courriel  <span class="asterisk">*</span>
    </label>
    	<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required>
    	<span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span>
    </div>
    <div class="mc-field-group">
    	<label for="mce-FNAME">Prénom  <span class="asterisk">*</span>
    </label>
    	<input type="text" value="" name="FNAME" class="required" id="mce-FNAME" required>
    	<span id="mce-FNAME-HELPERTEXT" class="helper_text"></span>
    </div>
    <div class="mc-field-group">
    	<label for="mce-LNAME">Nom  <span class="asterisk">*</span>
    </label>
    	<input type="text" value="" name="LNAME" class="required" id="mce-LNAME" required>
    	<span id="mce-LNAME-HELPERTEXT" class="helper_text"></span>
    </div>
    <div id="mergeRow-gdpr" class="mergeRow gdpr-mergeRow content__gdprBlock mc-field-group">
    <div class="content__gdpr">
            <fieldset class="mc_fieldset gdprRequired mc-field-group" name="interestgroup_field">
    		<label class="checkbox subfield" for="gdpr_108332"><input type="checkbox" id="gdpr_108332" name="gdpr[108332]" value="Y" class="av-checkbox gdpr"><span>J'accepte de recevoir des courriels de Dans la rue</span> </label>
            </fieldset>
            <p> </p>
        </div>
    </div>
    	<div id="mce-responses" class="clear">
    		<div class="response" id="mce-error-response" style="display:none"></div>
    		<div class="response" id="mce-success-response" style="display:none"></div>
    	</div>    <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
        <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_f10d14fb56a1207b520e7035d_de9d662344" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="S'inscrire" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    </form>
    </div>
    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='MMERGE5';ftypes[5]='number';fnames[6]='MMERGE6';ftypes[6]='text';fnames[7]='MMERGE7';ftypes[7]='text';fnames[8]='MMERGE8';ftypes[8]='text';fnames[9]='MMERGE9';ftypes[9]='text';fnames[10]='MMERGE10';ftypes[10]='text'; /*
     * Translated default messages for the $ validation plugin.
     * Locale: FR
     */
    $.extend($.validator.messages, {
            required: "Ce champ est requis.",
            remote: "Veuillez remplir ce champ pour continuer.",
            email: "Veuillez entrer une adresse email valide.",
            url: "Veuillez entrer une URL valide.",
            date: "Veuillez entrer une date valide.",
            dateISO: "Veuillez entrer une date valide (ISO).",
            number: "Veuillez entrer un nombre valide.",
            digits: "Veuillez entrer (seulement) une valeur numérique.",
            creditcard: "Veuillez entrer un numéro de carte de crédit valide.",
            equalTo: "Veuillez entrer une nouvelle fois la même valeur.",
            accept: "Veuillez entrer une valeur avec une extension valide.",
            maxlength: $.validator.format("Veuillez ne pas entrer plus de {0} caractères."),
            minlength: $.validator.format("Veuillez entrer au moins {0} caractères."),
            rangelength: $.validator.format("Veuillez entrer entre {0} et {1} caractères."),
            range: $.validator.format("Veuillez entrer une valeur entre {0} et {1}."),
            max: $.validator.format("Veuillez entrer une valeur inférieure ou égale à {0}."),
            min: $.validator.format("Veuillez entrer une valeur supérieure ou égale à {0}.")
    });}(jQuery));var $mcj = jQuery.noConflict(true);</script>
    <!--End mc_embed_signup-->

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @quanticconseil,

    While it doesn’t look like the Complianz plugin is active on the website in question at the moment, it also should not be necessary to block the Mailchimp form’s HTML.

    Kind regards, Jarno

Viewing 1 replies (of 1 total)
  • The topic ‘mailchimp_embed_signup’ is closed to new replies.