I'm a newbie to MODX, using MODX Revolution 2.2.0-pl2 with FormIt 2.0.3.
I'm using the following blog post as a guide to setting up a very simple contact form with FormIt:
http://codingpad.maryspad.com/2011/03/08/modx-revolution-for-complete-beginners-part-9-using-formit-for-contact-forms/
I have the following snippet call at the top of the page that contains my form:
[[!FormIt?
&hooks=`email`
&emailTpl=`sentEmailTpl`
&emailSubject=`Message from Learn MODx Revo Website`
&emailTo=`[email protected]`
&redirectTo=`6`
]]
When I complete the form in a browser, the e-mail is sent correctly, but the redirect to my "Thank you for your message" page doesn't work. The form clears, and it stays on the form page.
My "Thank you for your message page" has a "Menu Index" of 6, which I'm assuming is another name for the Page ID.
As far as I can see I've set things up correctly, but there's clearly something wrong. Suggestions for what I might check next would be much appreciated!
Cheers,
Dave