我将最后一个 modx revo 与 formZ 一起使用,它会复制电子邮件。每次我提交表格时,我都会收到两次电子邮件。我想不通。这是我的表格tpl:
[[!FormIt?
&hooks=`[[+action]][[+hooks:notempty=`,[[+hooks]]`]]`
&excludeFields=`submit[[+id]]`
&submitVar=`submit[[+id]]`
&formid=`[[+id]]` [[- "Form ID"]]
&store=`0`
&storeTime=`900`
&successMessage=`<p>[[+success_message]]</p>`
&emailTo=`[[+email:default=``]]`
[[+properties]]
[[+validation:notempty=`&validate=`[[+validation]]``]]
[[+validationText:notempty=`[[+validationText]]`]]
]]
[[!+fi.successMessage]]
[[!+fi.validation_error_message]]
<form class="form [[+identifier]]" action="" method="post">
<fieldset>
[[+fields]]
</fieldset>
<div class="actions">
<input type="submit" name="submit[[+id]]" value="[[+action_button:default=`Envoyer`]]" class="btn primary" />
</div>
</form>
如何避免重复电子邮件?有任何想法吗?