Hi guys
I have terrible problem for me, Yes im new with this its my first project with chronoforms and joomla.
I create form what looks like exam and i want to send user information to me (name, email and if its possible hour when he start and end exam).
First i try send user information by dynamic email. I create custom code in setup on submit where i want to get user information code (code below) below and i use user name/email in dynamic from name/email, Nothing happened i received only exam text without information.
Please help me with solve this.
Regards
Wojciech
I have terrible problem for me, Yes im new with this its my first project with chronoforms and joomla.
I create form what looks like exam and i want to send user information to me (name, email and if its possible hour when he start and end exam).
First i try send user information by dynamic email. I create custom code in setup on submit where i want to get user information code (code below) below and i use user name/email in dynamic from name/email, Nothing happened i received only exam text without information.
<?php
$user =& JFactory::getUser();
$form->data['user_email'] = $user->email;
$form->data['user_id'] = $user->id;
$form->data['user_name'] = $user->name;
?>
Idk what to do now, my head is empty. Im know i dont do something and i dont do something right, but i cant help self.
Please help me with solve this.
Regards
Wojciech