Hello,
I am still having trouble with this one. Here is the snippet call I am using: (with my email address removed)
[[!FormIt?
&hooks=`formit2resource,email`
&emailTo=`[email protected]`
&emailTpl=`myEmailChunk2`
]]
I have tried to strip the snippet call down to the essentials to try to find my problem, but maybe I have left out something important. My problem seems to be with the formit2resource snippet, as I never get to the email hook. (FYI, I have used formit to create a simple contact page, and that worked fine.)
As has been previously suggested, I have ensured that the parent resource for the new document does exist, and if I add a
statement at the head of the formit2resource snippet, the email hook runs.
Is there something within the formit2resource snippet that I am supposed to modify? I just can’t see what I’m missing.
As always, thanks to the Modx community for the help.
-Bob