Hey Guys I have a problem with my Flexibility template (
https://github.com/DESIGNfromWITHIN/Flexibility) and FormIt:
MODX Revolution 2.1.2-pl (traditional)
FormIt 1.7.0
This call gives an error:
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`chunk_email_form`
&emailTo=`[[$chunk_email_adress]]`
&redirectTo=`6`
&emailUseFieldForSubject=`1`
&validate=`name:required,
email:email:required,
text:required:stripTags`
]]
The error:
[2011-07-21 08:04:21] (ERROR @ /grondrente2/index.php) [FormIt] Sometghing went wrong with sending the email. Could not instantiate mail function.
This works:
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`chunk_email_form`
&emailTo=`[email protected]`
&redirectTo=`6`
&emailUseFieldForSubject=`1`
&validate=`name:required,
email:email:required,
text:required:stripTags`
]]
How can I use a chunk for the
&emailTo field?