Can’t set up the contact form. I press the submit button and I get to the top of the page. Emails are not sent, and &redirectTo does not go to the page. What am I doing wrong?
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`email_tpl`
&emailTo=`mail@mydomen.com`
&emailSubject=`message from the site [[++site_url]]`
&redirectTo=`6`
&validate=`name:required,email:email:required,text:required:stripTags,phone:required`
]]
[[!+fi.error_message:notempty=`<p>[[!+fi.error_message]]</p>`]]
<form action="[[~[[*id]]]]" method="post" class="form" id="form_input">
<input type="hidden" name="nospam:blank" value="" />
<label for="name">Name <span class="required">*</span>:</label><br/>
<span class="error">[[!+fi.error.name]]</span>
<input type="text" name="name" id="name" value="[[!+fi.name]]" /><br/>
<label for="email">Email <span class="required">*</span>:</label><br/>
<span class="error">[[!+fi.error.email]]</span>
<input type="text" name="email" id="email" value="[[!+fi.email]]" /><br/>
<label for="text">Message <span class="required">*</span>:</label><br/>
<span class="error">[[!+fi.error.text]]</span>
<textarea name="text" id="text" cols="55" rows="7" value="[[!+fi.text]]">[[!+fi.text]]</textarea><br/>
<div id="mess_send" class="btn"><input class="submit_button" type="submit" value="Send" /></div>
</form>