Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > MailChimp embeded forms View modes: 
User avatar
Member
Member
henryyuen-gmail - 3/19/2012 1:18:36 AM
   
MailChimp embeded forms
Extremely newbie here. But I just want to add an embeded form generated by mailchimp onto the webpage.

http://kb.mailchimp.com/article/how-can-i-add-my-signup-form-on-my-website

Something like this

<div id="mc_embed_signup">
<form action="http://xxx.us4.list-manage.com/subscribe/post?u=0c10db06a025786c02802f978&id=dc7b95ce54" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">
<h2>Subscribe to our mailing list</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-TITLE">Title <span class="asterisk">*</span>
</label>
<input type="text" value="" name="TITLE" class="required" id="mce-TITLE">
</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> <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</form>
</div>

But When I add it to say the static html webpage, and click on submit, it does not move to a new page even though there is target="_blank"

<form action="http://xxx.us4.list-manage.com/subscribe/post?u=0c10db06a025786c02802f978&id=dc7b95ce54" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">

What is the proper way to embed an external web form into kentico?

Thanks in advance,
Henry.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/20/2012 4:40:14 AM
   
RE:MailChimp embeded forms
Hi,

.Net framework does not allow nested FORM tags and there is already one in the master page. You should use iFrame to load the FORM in it.

Best regards,
Juraj Ondrus