I have a simple subscribe form with one field, an email address. This form is sending three identical emails for each submission, which I can see in the formit submitted forms. If I remove the autoresponder snippet, only one form is sent. I have another contact form on the same site that is using autoresponder but sends only one form.
My client reports this a new behavior. The only updates to the site have been Modx and Extras upgrades.
Any ideas?
Modx 2.8.0
Formit 4.2.5
This is the form.
<div>
[[!FormIt?
&hooks=`spam,email,FormItSaveForm,FormItAutoResponder,redirect`
&fiarTpl=`subscribeemailcc`
&fiar=`xxxxxx`
&fiarFrom=`xxxxxx`
&fiarSubject=`Email Subscription`
&emailTpl=`subscribesendto`
&emailFrom=`websignup@xxxxxx.com`
&emailTo=`websignup@xxxxxx.com`
&redirectTo=`21`
&emailUseFieldForSubject=`0`
&emailSubject=`Email Subscription`
&validate=`email:email:required`
&submitVar=`emailsubscribe`]]
</div>
<div id="form_container" class="clearfix">
<form class="form" action="[[~[[*id]]]]" method="post">
<input id="workemail" type="text" name="workemail:blank" value="[[!+fi.workemail]]"/>
<span class="error">[[!+fi.error.email]]</span>
<input id="email" type="text" name="email" value="Email Address" />
<div class="form-buttons"><input name="emailsubscribe" id="button" type="submit" value=" " /></div>
</form>
</div><!--form_container-->