Hi,
Using MODx 2.4.0 and the latest install of formit.
When filling out the form the verification works on submit however if this is correct the form does not submit and does not forward to the thankyou page.
This may not have worked for a long time and I have not touched modx for a long time so I wonder if someone can see anything really obvious in the following.
[[!+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, telephone:blank, contact_message:required:stripTags` ]]
And here is the form
<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><br /> [[!+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><br /> [[!+fi.error.contact_message]] <textarea id="contact_message" class="required" name="contact_message" rows="7" cols="70">[[!+fi.contact_message]]</textarea><br /> <label>[[!+fi.op1]] [[!+fi.operator:is=`-`:then=`minus`:else=`plus`]] [[!+fi.op2]]?</label><br /> [[!+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]]" /><br /> <em>Got to check you are human enter maths answer above</em><br /><br /> <input class="submit-button" type="submit" name="submit" value="Submit" /></form>
That used to work but I now have no idea why not, anyone know what else might be worth checking out.
Thanks
Ian