I have a website running Revo 2.2.2 with Formit 2.1.0 and in one form on the website, the autoresponder is not sending an email with the assigned chunk, but it is sending an email with just a 0 in the content.
On this particular template, there is a TV that is a radio Button "yes/no" for the admin to include the form.
I have written a snippet for this with the following code:
$output='';
$chunk='workshopForm';
if($showForm=='Ja'){
$output.=$modx->getChunk($chunk);
};
return $output ;
The chunk 'workshopForm' contains the Formit Form. It properly displays the form and Formit functions perfectly. It is just the Autoresponder that is not working.
The formit call is as such:
[[!FormIt?
&fiarFrom=`[email protected]`
&fiarSubject=`Registration`
&fiarToField=`email`
&fiarReplyTo=`[email protected]`
&fiarFromName=`Company Name`
&fiarTpl=`workshopSenderTpl_[[*lang]]`
&customValidators=`fileTypeValidate`
&hooks=`email,FormItAutoResponder,recaptcha`
&emailTpl=`workshop`
&emailSubject=`Workshop Anmeldung`
&emailTo=`[[*workshopEmail]]`
&submitVar=`sendIt`
&validate=`uploadItem:fileTypeValidate,email:email:required,vorname:required,nachname:required, firmenname:required, land:required`
&successMessage=`[[%confirmation? &topic=`workshops` &namespace=`my-Templates` &language=`[[*lang]]`]]
`]]
of course I edited the code here to not show my client's email address and information.
I also eliminated my custom validator, to see if my own code here was the problem, but it wasn't.
Any ideas? I would greatly appreciate it!