Good morning, I have created three dynamic dropdown linked together (region, province, town). But I would like the first dropdown loads the user id already loaded into a text box with this code
how can I do ? thank you
<?php
$user = JFactory::getUser();
$form->data['codiceutente'] = $user->username;
?>
how can I do ? thank you
Hi agostino87,
You can add that in a Custom Code action before the HTML (Render form) action in the form ON Load event.
Bob
You can add that in a Custom Code action before the HTML (Render form) action in the form ON Load event.
Bob
I solved the problem by adding two fields to the table jos_user and then using the filters on them
This topic is locked and no more replies can be posted.