php - 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`
解决方案
推荐阅读
- python - 在 If 语句中将字符串转换为日期时间时出现日期时间错误
- reactjs - 有谁知道如何删除这些警告?
- r - 将 gsub 用于 R 中字符串中的特定事件?
- symfony - 在 symfony 4 中异步运行进程
- flutter - 如何计算所有设备信息,例如:语音网络类型、信号强度、下载速度和上传速度
- javascript - React Navigation 安装一个屏幕,然后不接受从另一个屏幕再次传递的新参数
- angular - 如何使用ng-autocomplete地址输入正确地在Angular中对positionStack进行rest api调用,并对其进行去抖动
- python - 创建新虚拟环境时出现 virtualenv 错误
- c - 如何确保递归终止?
- python - 函数 cvFindExtrinsicCameraParams2 中的错误 fabs(sc) > DBL_EPSILON 是什么意思?