Mailchimp一份列表的多个订阅表单 [英] Mailchimp Multiple Subscription Forms for one list

查看:103
本文介绍了Mailchimp一份列表的多个订阅表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在html页面中嵌入了三种不同的自定义mailchimp表单,这些表单指向一个列表(每个表单都有两个相似的字段和一个不同的隐藏字段).

I embedded three different customized mailchimp forms in an html page that point to one list (each form has two similar fields and one different hidden field).

一切正常,排除一件事.响应消息(成功或错误)仅在第一种形式的div #mce-response中的同一页中显示.在其他两个中,响应被加载并显示在另一个空白页中.我希望所有三种表格的回复都显示在同一页面上. 我不是Java Script用户,但是经过一番研究,我发现这与外部脚本有关:

Everything works excluding one thing. The responses messages (success or error) are displayed in the same page in the div #mce-response only for the first form. In the other two the responses are loaded and displayed in another blank page. I'd like to have the reponses displayed in the same page for all the three forms. I'm not a Java Script user but after a bit of research I found that this deals with the external script:

<script type='text/javascript' src='http://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>

通过mailchimp设置是否有解决方案,或者我们必须使用JavaScript文件?

Is there any solution through mailchimp settings or we have to use JavaScript file?

我了解到此脚本仅对第一种形式有效. 任何想法如何做到这一点? 谢谢

I understood that this script is valid only for the first form. Any idea how to do this? Thanks

推荐答案

使用Ajax黑猩猩.这将(1)阻止将订户重定向到您的页面之外,并且(2)允许使用多种形式.

Use Ajax Chimp. This will (1) prevent redirecting your subscribers away from your page and (2) allow multiple forms.

https://github.com/scdoshi/jquery-ajaxchimp

这篇关于Mailchimp一份列表的多个订阅表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆