I have a big problem. v5
When i create a new record from "chronoconnectivity", conexion opens "chronoforms" and you can create a new record.
But there are two problems
1. the name of the field in the form must have the model reference e.g. ( myModel[userJoomla] )
Then "chronoconnectivity" no saves user_id and other Joomla fields.
2.For resolve the problem, you say better to use php code e.g.
But when "chronoforms" is linked to chronoconnecttivity this reference no runs.
I change "data" for "mymodel" and neither.
I need a php sentence to put user_id to chronoforms field linked to chronoconnectivity
Thanks
When i create a new record from "chronoconnectivity", conexion opens "chronoforms" and you can create a new record.
But there are two problems
1. the name of the field in the form must have the model reference e.g. ( myModel[userJoomla] )
Then "chronoconnectivity" no saves user_id and other Joomla fields.
2.For resolve the problem, you say better to use php code e.g.
<?php $user =& JFactory::getUser(); $form->data['user_id'] => $user->id; ?>
But when "chronoforms" is linked to chronoconnecttivity this reference no runs.
I change "data" for "mymodel" and neither.
I need a php sentence to put user_id to chronoforms field linked to chronoconnectivity
Thanks
This topic is locked and no more replies can be posted.
