For some reason, the redirect hook in my FormIt call is broken. It was working previously however something broke and I'm not sure where the issue lies. When the form is submitted, it simply refreshes the form's page instead of going to a thank you page (with an id of 4) Here is what the call looks like:
[[!FormIt?
&hooks=`email,FormItAutoResponder,redirect`
&emailTpl=`contactFormTpl`
&emailFrom=`****@*****.com`
&emailSubject=[[+selection-type]] - [[+first-name]] [[+last-name]]
&emailFromName=`Website`
&emailTo=`****@*****.com`
&redirectTo=`4`
&fiarTpl=`confirmation_email`
&fiarSubject=`Your confirmation`
&fiarToField=`email`
&fiarFrom=`****@*****.com`
&fiarFromName=`My Website`
&fiarReplyTo=`****@*****.com`
]]
I had added a Jquery event to open a new tab in the user's browser and then return true which used to work but now, even after removing that JS code, it still just refreshes the current page.