Hola, Bob!!
I am trying to use your custom email action in a Joomla 3.1.1 install. My form is loading fields using the Model ID. When I attempt to have the email sent to the email address on the form, in the field 'reg_email', it will not send.
In the TO field in the action I am using {reg.reg_email} which does not work. I tried, of course, just {reg_email} which I did not expect to work and it did not.
Should this work using {reg.reg_email}?
I want to use your action because I want the email to be conditional, based on the form field {reg.reg_enabled}.
Rick
I am trying to use your custom email action in a Joomla 3.1.1 install. My form is loading fields using the Model ID. When I attempt to have the email sent to the email address on the form, in the field 'reg_email', it will not send.
In the TO field in the action I am using {reg.reg_email} which does not work. I tried, of course, just {reg_email} which I did not expect to work and it did not.
Should this work using {reg.reg_email}?
I want to use your action because I want the email to be conditional, based on the form field {reg.reg_enabled}.
Rick
Hi Rick,
I'm not sure. The action uses the standard ChronoForms curly_replacer() method and it looks to me as though that should parse {xxx.yyy} correctly.
The workaround would be to use a custom code action to copy the value e.g.
Bob
I'm not sure. The action uses the standard ChronoForms curly_replacer() method and it looks to me as though that should parse {xxx.yyy} correctly.
The workaround would be to use a custom code action to copy the value e.g.
<?php
$form->data['email_reg'] = $form->data['reg']['reg_email'];
?>
Bob
This topic is locked and no more replies can be posted.