Tagged: embedded forms, mailchimp
- This topic has 4 replies, 2 voices, and was last updated 5 years, 3 months ago by Skandha.
-
AuthorPosts
-
August 6, 2019 at 12:15 pm #178878Coconuts4saleParticipant
Hi!
I am using Mailchimp to gather my visitors’ email addresses. I have managed to embed the pop up form to WordPress, but seem to struggle with the sign up / contact us form. My website is http://www.coconuts4sale.com and I would like to replace the current contact form (https://coconuts4sale.com/contact/) by the one I created in Mailchimp. It should be on the same page as the current form.
This is what I got from Mailchimp:
<!– Begin Mailchimp Signup Form –>
<link href=”//cdn-images.mailchimp.com/embedcode/classic-10_7.css” rel=”stylesheet” type=”text/css”>
<style type=”text/css”>
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* 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: 10px;}
#mergeRow-gdpr {margin-top: 20px;}
#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://coconuts4sale.us20.list-manage.com/subscribe/post?u=6615f1a0d2af5ccdf3a0a48b4&id=9d472abe93″ method=”post” id=”mc-embedded-subscribe-form” name=”mc-embedded-subscribe-form” class=”validate” target=”_blank” novalidate>
<div id=”mc_embed_signup_scroll”>
<h2>Subscribe</h2>
<div class=”indicates-required”><span class=”asterisk”>*</span> indicates required</div>
<div class=”mc-field-group”>
<label for=”mce-EMAIL”>Email Address <span class=”asterisk”>*</span>
</label>
<input type=”email” value=”” name=”EMAIL” class=”required email” id=”mce-EMAIL”>
</div>
<div class=”mc-field-group”>
<label for=”mce-NAME”>Name <span class=”asterisk”>*</span>
</label>
<input type=”text” value=”” name=”NAME” class=”required” id=”mce-NAME”>
</div>
<div class=”mc-field-group”>
<label for=”mce-COMPANY”>Company </label>
<input type=”text” value=”” name=”COMPANY” class=”” id=”mce-COMPANY”>
</div>
<div class=”mc-field-group”>
<label for=”mce-MMERGE6″>Message <span class=”asterisk”>*</span>
</label>
<input type=”text” value=”” name=”MMERGE6″ class=”required” id=”mce-MMERGE6″>
</div>
<div class=”mc-field-group input-group”>
Interested in sponsorship as:- <input type=”checkbox” value=”1″ name=”group[1901][1]” id=”mce-group[1901]-1901-0″><label for=”mce-group[1901]-1901-0″>A sponsorship seeker</label>
- <input type=”checkbox” value=”2″ name=”group[1901][2]” id=”mce-group[1901]-1901-1″><label for=”mce-group[1901]-1901-1″>A sponsor</label>
</div>
<div id=”mergeRow-gdpr” class=”mergeRow gdpr-mergeRow content__gdprBlock mc-field-group”>
<div class=”content__gdpr”>
<label>Marketing Permissions</label>
<p>Please select all the ways you would like to hear from Coconuts4sale:</p>
<fieldset class=”mc_fieldset gdprRequired mc-field-group” name=”interestgroup_field”>
<label class=”checkbox subfield” for=”gdpr_8837″><input type=”checkbox” id=”gdpr_8837″ name=”gdpr[8837]” value=”Y” class=”av-checkbox “><span>Email</span> </label>
</fieldset>
<p>You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.</p>
</div>
<div class=”content__gdprLegal”>
<p>We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp’s privacy practices here.</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_6615f1a0d2af5ccdf3a0a48b4_9d472abe93″ tabindex=”-1″ value=””></div>
<div class=”clear”><input type=”submit” value=”Subscribe” 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]=’NAME’;ftypes[1]=’text’;fnames[2]=’COMPANY’;ftypes[2]=’text’;fnames[4]=’PHONE’;ftypes[4]=’phone’;fnames[6]=’MMERGE6′;ftypes[6]=’text’;}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!–End mc_embed_signup–>But when I try to add this, it doesn’t work. I have also tried with a URL (http://eepurl.com/gzjvPv) as the WordPress was asking me for the URL of the form, but all I get is a message that this currently cannot be embedded.
Would you be able to help me with this issue?
Thank you and kind regards,
Lana
August 7, 2019 at 12:31 am #178913SkandhaParticipant@coconuts4sale: Hello Lana,
I will need your WP Admin Credentials to look into the Mailchimp form issue. I will contact you shortly by email.Kind Regards,
SkandhaAugust 29, 2019 at 1:09 am #180664SkandhaParticipant@coconuts4sale: Hello Lana,
Can you check your Contact Page and let me know if that form is what you want!Kind Regards,
SkandhaSeptember 5, 2019 at 8:59 am #181380Coconuts4saleParticipantHi Skandha,
thank you for your help. I think this works now.
Just one more question. How can I make a ‘message field’ (where people can type their message) a bit bigger (not just one line, but more like a box field)?
Cheers,
Lana
September 6, 2019 at 12:37 am #181434SkandhaParticipant@coconuts4sale: Hello Lana,
I have made the message field a bit larger on your site. I changed the<input>
to<textarea>
.Let me know if this works out!
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Mailchimp embedded contact form’ is closed to new replies.