-
- 834 Posts
Yeh,
that's why i called mine confirmemail. 'spose I should have made the hidden field an actual email field to confuse them even more.
The call looks looks like this
[[!FormIt?
&hooks=`spam,email,redirect,FormItAutoResponder`
&emailTpl=`MyEmailChunk`
&emailSubject=`Message from Test Form`
&emailTo=`[myemail]`
&validate=`name:required:minLength=^2^,
email:email:required,
message:required,
confirmemail:blank`
&redirectTo=`250`
&fiarTpl=`BautoResponseTpl`
&fiarSubject=`Thank You for Contacting Us`
&fiarToField=`email`
&fiarFromName=`Make Them Click`
]]
The form code is
<section id="formit">
<form name="formit" id="formit-form" method="post" action="[[~[[*id]]]]" />
<div id="wrapping" class="clearfix">
<section id="aligned">
<input type="text" name="name" id="name" placeholder="Your name" autocomplete="off" tabindex="1" class="txtinput" value="[[!+fi.name]]" />
<input type="email" name="email" id="email" placeholder="Your e-mail address" autocomplete="off" tabindex="2" class="txtinput" value="[[!+fi.email]]"/>
<input type="url" name="website" id="website" placeholder="Website URL" autocomplete="off" tabindex="3" class="txtinput" value="[[!+fi.website]]"/ >
<input type="tel" name="telephone" id="telephone" placeholder="Phone number" tabindex="4" class="txtinput" value="[[!+fi.telephone]]" maxlength="14" />
<textarea name="message" id="message" placeholder="How can we help you?..." tabindex="5" class="txtblock">[[!+fi.message]]</textarea>
<input type="hidden" name="confirmemail" value="" />
</section>
</div>
<section id="buttons">
<input type="submit" name="submit" id="submitbtn" class="submitbtn" tabindex="7" value="Let's Talk" />
<br style="clear:both;">
</section>
</form>
</section>
Content Creator and Copywriter
-
- 834 Posts
Quote from: DasItsch at Apr 18, 2013, 09:58 AMThe required fiarReplyTo-parameter is missing. Try adding &fiarReplyTo=`[email protected]` to the FormIt-call.
Works without it, so I'm not sure it is required and it wasn't mentioned in the Formit Tutorial
http://rtfm.modx.com/display/ADDON/FormIt.Examples.Simple+Contact+Page
Content Creator and Copywriter