Is that possible to have a element field pre-populated by data from a table wich is not in Fabrik?

Status
Not open for further replies.

jmdc

Member
Hello,

I would like to know, if possible, if it?s possible to have an element field in Fabrik component wich is automatically pre-populated from another table outside fabrik lists?

Thank you very much for you answers.
 
I have did it...with this code behind and it works.

$db = JFactory::getDbo();
$myQuery = 'SELECT Devedores FROM DevedoresTotais WHERE userid={$my->id}';
$db->setQuery($myQuery);
$name = $db->loadResult();
return $name;

Thank you.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top