to display the user id i use this code
how can I change the code to display the user's group id?
thanks
<?php
$user = JFactory::getUser();
$form->data['codiceca'] = $user->id;
?>
how can I change the code to display the user's group id?
thanks
Hello agostino87,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a User to a User Group?
What decides if clientside validation is enabled?
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a User to a User Group?
What decides if clientside validation is enabled?
P.S: I'm just an automated service😉
This topic is locked and no more replies can be posted.