Hello:
I have created a form and everything works flawlesly but the autoresponder. In the confirmation message I can access to $variables to confirm the data entered: for example $Name $City... But in the autoresponder the $Name appers as it was "$Name" and not with the content of the variable. Also I get the same results having checked the option Process variables in Success Page in Miscellaneous.
Have I forgotten something or is it a bug?
Thanks in adfvance
Autoresponder variables not processed
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: Autoresponder variables not processed
Did you set the email format of the auto responder message to 'rich text'?
If yes, then what are your exact settings?
And what is the generated code?
If yes, then what are your exact settings?
And what is the generated code?
Re: Autoresponder variables not processed
No Pablo. The autorespond is in HTML format due in Rich Text I thought I can't access the variables
Re: Autoresponder variables not processed
What are your exact settings?
And what is the generated code?
And what is the generated code?
Re: Autoresponder variables not processed
Here is the test project
Last edited by grundman on Thu Sep 01, 2022 12:46 pm, edited 1 time in total.
Re: Autoresponder variables not processed
Everything seems to be correct. ReplaceVariables is called for the autoresponder message:
I've also tried it with a simplified version of your form and that works for me.
I suggest to start with simple form, with only one or two fields. For example, name and email.
In that case, it's much easier to test whether it works.
Then, if you have the basics working you can add more fields.
Code: Select all
$autoresponder_message = ReplaceVariables($autoresponder_message);
I suggest to start with simple form, with only one or two fields. For example, name and email.
In that case, it's much easier to test whether it works.
Then, if you have the basics working you can add more fields.
Re: Autoresponder variables not processed
Many, many thanks for the update Pablo.