I’ve got a working form that delivers fine and displays a success message. As soon as I add FormItSaveForm, it still sends but doesn’t save the form - any ideas?..
[[!FormIt?
&hooks=`spam,email`
&emailTpl=`flex_email_chunk`
&emailFrom=`[[$mainemail]]`
&emailTo=`[[$mainemail]]`
&successMessage=`<p style="color:green; padding-top: 36px;">Thank you. Your message has been submitted successfully, you will normally receive a reply within 24 hours.</p>`
&emailUseFieldForSubject=`0`
&emailSubject=`Website Contact Form`
&validate=`nospam:blank,name:required,
email:email:required,telephone:required,consent:required,
text:required:stripTags`]]
Does it save the form successfully?
If FormItSaveForm is the last hook in the list and fails, then the email will still be sent (as the email hook runs before the saving) but the overall processing of the form will be incomplete and therefore there is no success message.
Thank you - that’s exactly what I’ve just done and it works. Not sure why auto-increment seems to have disappeared when moving from my server to the client’s server.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.