Hi,
on our website we have a members area with a form for user profile data. For this form we use the latest chronoform-version. When a user submit this form the data will be stored in a chronoforms-table in the database. This works without a problem. But if a user opens the form again it's not possible to load the data from the database with the DB Record Loader. I followed exactly the tutorial in the faq-section.
DB Record Loader before HTML in the 'on load section'.
DB Field: cf_created_by
Table: k4v38_chronoforms_data_Freelancer_Profil
Request param: profile_id
PHP-Code (Custom Code Element) befor the DB Record Loader:
The Form-URL show no data:
index.php?option=com_chronoforms&chronoform=Freelancer-Profil&profil_id=399
The form is loaded via an joomla-modul in a standard Joomla Article.
I'm absolutely not shure where my fault is? Any ideas?
Thanks and regards!
funkyflipper
on our website we have a members area with a form for user profile data. For this form we use the latest chronoform-version. When a user submit this form the data will be stored in a chronoforms-table in the database. This works without a problem. But if a user opens the form again it's not possible to load the data from the database with the DB Record Loader. I followed exactly the tutorial in the faq-section.
DB Record Loader before HTML in the 'on load section'.
DB Field: cf_created_by
Table: k4v38_chronoforms_data_Freelancer_Profil
Request param: profile_id
PHP-Code (Custom Code Element) befor the DB Record Loader:
<?php
$user =& JFactory::getUser();
$form->data['cf_created_by'] = $user->id;
echo $form->data['cf_created_by']; // here I get the right user-id
?>
The Form-URL show no data:
index.php?option=com_chronoforms&chronoform=Freelancer-Profil&profil_id=399
The form is loaded via an joomla-modul in a standard Joomla Article.
I'm absolutely not shure where my fault is? Any ideas?
Thanks and regards!
funkyflipper