Hello,
I've been banging my head against wall for some time with this.
I don't understand why contact form doesn't work for me.
Call:
[[!FormIt?
&hooks=`email,redirect`
&emailTpl=`sentEmailTpl`
&emailSubject=`Message`
&emailTo=`my email address`
&validate=`Name:required:minLength=`2`,
Email:email:required,
Message:required`
&redirectTo=`1`
&language=`en` ]]
<div id="contact-area">
<form id="commentForm" action="[[~[[*id]]]]" method="post">
<label for="Name"><strong>Name:</strong> <span class="error">[[!+fi.error.Name]]</span></label>
<input id="Name" class="required" type="text" name="Name" value="[[!+fi.Name]]" />
<label for="Email"><strong>E-mail:</strong> <span class="error">[[!+fi.error.Email]]</span></label>
<input id="Email" class="required email" type="text" name="Email" value="[[!+fi.Email]]" />
<label for="Message"><strong>Message:</strong> <span class="error">[[!+fi.error.Message]]</span></label>
<textarea id="Message" class="required" name="Message" rows="40" cols="20">[[!+fi.Message]]</textarea>
<input class="submit-button" type="submit" name="submit" value="Send" /></form>
</div>
This form is copied from another site, along with sentEmailTpl and css, where it works great.
I ran this site through w3c, and there were no errors
I tried applying basic template, with no scripts and css, to see if there were any compatibility issues
When I press send even redirect doesn't happen.