I have a bizarre issue. Formit is not processing at all. In fact, the form is behaving as if there was no Formit package installed. I removed formit just to verify this behavior. It simply reloads the current page.
I also removed the hooks one by one in case one of them was failing. No difference.
It's as if ModX is not even loading or talking to the FormIt snippet.
I also tried moving the form to another page just for testing sake.
I even re-ran setup for ModX.
The other part that makes this weird is that I am using the exact same form code (pretty much exactly the same as the example) that I put in every new site I build. This is the first time this has happened.
Snippet:
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`MyEmailChunk`
&emailTo=`[email protected]`
&redirectTo=`7`
&emailSubject=`Contact Form submission from website`
&validate=`name:required,
email:email:required,
text:required:stripTags`
]]
Form:
[[!+fi.error.error_message:notempty=`<p>[[!+fi.error.error_message]]</p>`]]
<form action="[[~[[*id]]]]" method="post" class="form" id="contactForm">
<input type="hidden" name="nospam:blank" value="" />
<label for="name">
Name:
<span class="error">[[!+fi.error.name]]</span>
</label><br />
<input type="text" name="name" id="name" value="[[!+fi.name]]" />
<label for="email">
Email:
<span class="error">[[!+fi.error.email]]</span>
</label><br />
<input type="text" name="email" id="email" value="[[!+fi.email]]" />
<label for="phone">
Phone:
<span class="error">[[!+fi.error.phone]]</span>
</label><br />
<input type="text" name="phone" id="phone" value="[[!+fi.phone]]" />
<label for="text">
Message:
<span class="error">[[!+fi.error.text]]</span>
</label><br />
<textarea name="text" id="text" cols="55" rows="7">[[!+fi.text]]</textarea>
<br class="clear" />
[[!+formit.recaptcha_html]]
[[!+fi.error.recaptcha]]
<div class="form-buttons">
<input type="submit" name="submit" id="submit-button" value="Send" />
</div>
</form>
Anyone else experience this?