Hi,
I have a hiddenfield with name in the form - default value <?php echo $user->name; ?>
A custom code before showhtml with:
<?php
$user =& JFactory::getUser();
$form->data['name'] = $user->name;
?>
Now i need a second field with the phone number -
the same with phone instead name does not work - i think because of the other table?
How can i do that correctly?
I have a hiddenfield with name in the form - default value <?php echo $user->name; ?>
A custom code before showhtml with:
<?php
$user =& JFactory::getUser();
$form->data['name'] = $user->name;
?>
Now i need a second field with the phone number -
the same with phone instead name does not work - i think because of the other table?
How can i do that correctly?