I have a table with 4 fields in the database (client, info1, info2, Info3)
the form has 4 elements, the first with autocomplete (customer), the remaining three elements detect the values of the info with this custom code
the form of saving is ok, I would like to see instantly in 3 textbox the value saved.
thx
the form has 4 elements, the first with autocomplete (customer), the remaining three elements detect the values of the info with this custom code
<?php
$db = \JFactory::getDBO();
$query = "
SELECT `nome`
FROM `aaa_tabella`
WHERE `codice` = '{$form->data['cliente']}' ;
";
$db->setQuery($query);
$form->data['nomecliente'] = $db->loadResult();
?>
the form of saving is ok, I would like to see instantly in 3 textbox the value saved.
thx