首页 > 解决方案 > Smartrmail 创建具有多个选项的时事通讯注册

问题描述

我们使用 smartrmail 为我的工作提供时事通讯服务,目前他们无法创建一个注册表单,客户可以在其中选择他们想要添加到的邮件列表。例如,我们希望允许客户能够选择他们接收的电子邮件,即无线电控制、模型套件或模型铁路电子邮件。

我希望表单如下所示,电子邮件地址文本框

“选择您希望添加到的邮件列表”标签

复选框 1:无线电控制车。复选框 2:模型套件。复选框 3:模型铁路。提交按钮。

现在我只是想知道如何解决这个问题,因为当前代码适合注册一个默认邮件列表,并且表单操作调用由 smartrmail 创建的注册表单页面(我可以为 3 邮件列表无线电控件创建它,模型工具包和模型铁路。

我们注册的当前代码如下:

 <form accept-charset="UTF-8" action="https://go.smartrmail.com/en/subscribe/7iypic" method="post" id="subscribe-form">
                      <input name="subscribe_form[anti_bot]" type="text" style="display: none" />
                      <label for="subscriber_email">Email</label>
                      <input class="form-control" id="subscriber_email" name="EMAIL" type="email" required placeholder="Email Address" />
                    <div class="checkbox">
                        <label>
                            <input type="checkbox" value="y" class="terms_box" required/>
                            I have read and agree to
                            <a href="#" data-toggle="modal" data-target="#termsModal">Terms & Conditions</a> and
                            <a href="#" data-toggle="modal" data-target="#privacyModal">Privacy Policy</a>.
                        </label>
                    </div>
                    <input name="commit" class="btn btn-default" type="submit" value="Subscribe" data-loading-text="<i class='fa fa-spinner fa-spin' style='font-size: 14px'></i>"/>
                </form>`enter code here`

标签: phphtmlformsnewsletter

解决方案


推荐阅读