I use Multi-Page plugin🙂
In 1. child form with joomla registration plugin I setup two mail (one for admin, one for registration user).
When I submitt this child form, then send mails are OK.
In last child form I need send second mail (2MAIL) for registration user with data from 1. child form (email, jmeno) and another child forms (rating01-rating20).
I use code for transfer information from one child form to another child form and write this code in form HTML in first line and put in hidden fileds (for using mail with dynamic fields):
<?php
$session =& JFactory::getSession();
$posted = $session->get('chrono_formpages_data', array(), md5('chrono'));
$email = JRequest::getVar('email', '', 'get');
$jmeno = JRequest::getVar('jmeno', '', 'get');
?>
On Submit code - before sending mail a use code for testing - print value fileds email, jmeno:
<?php
Global $mainframe; $mainframe->enqueuemessage('$email:
'.print_r($semail, true));
?>
Question:
When I submitting last child form, Im not recieve 2MAIL with dynamic email...
Where is error?
I buy book about chronoform, but I did not see anything tip about this problem.
Mayby, I need trick with open table com_user and read data from and put into dynamic fields in mail, but i dont know how😟
Thanks for answer.
Rudolf