Hi there,
I have inherited a site which uses Formit for their contact form.
I can't see anything wrong withthe code that was produced - I wonder if anyone can spot any issues in the chunk below which is called for the contact form?
[[!+fi.validation_error_message]]
[[+errors]]
[[!FormIt?
&hooks=`email,math,redirect`
&emailTpl=`LashSentEmailTpl`
&emailSubject=`Message from My Website`
&emailTo=`
[email protected]`
&mathMaxRange=`20`
&redirectTo=`15`
&validate=`contact_name:required:minLength=^2^,
contact_email:email:required,
contact_message:required:stripTags` ]]
<div id="contact-area">
<form action="[[~[[*id]]]]" method="post">
[[!+fi.error.contact_name]]
<input type="hidden" name="telephone" value="" />
<label for="contact_name">Name </label>
<input id="contact_name" class="required" type="text" name="contact_name" value="[[!+fi.contact_name]] " size="30" />
<label for="contact_email">E-Mail </label><em>(required)</em>
[[!+fi.error.contact_email]]
<input id="contact_email" class="required email" type="text" name="contact_email" value="[[!+fi.contact_email]]" size="30" />
<label for="contact_message">Your comment </label><em>(required)</em>
[[!+fi.error.contact_message]]
<textarea id="contact_message" class="required" name="contact_message" rows="7" cols="70">[[!+fi.contact_message]]</textarea>
<label>[[!+fi.op1]] [[!+fi.operator:is=`-`:then=`minus`:else=`plus`]] [[!+fi.op2]]?</label>
[[!+fi.error.math]]
<input type="text" name="math:required" value="[[!+fi.math]]" />
<input type="hidden" name="op1" value="[[!+fi.op1]]" />
<input type="hidden" name="op2" value="[[!+fi.op2]]" />
<input type="hidden" name="operator" value="[[!+fi.operator]]" />
<em>Got to check you are human enter maths answer above</em>
<input class="submit-button" type="submit" name="submit" value="Submit" />
</form>
</div>
In the back end there are no submissions within Extras > Formit
There aren't even any forms listed there - i assumed that's where all the data would be stored?
I have never used Formit so I'm not sure what I'm looking for.
Any help would be much appreciated!
Thanks
Andy