Hi,
I have form to send data to database (text box and textarea box). It work. But I don't know how get user id to send to database. Anyone can help-me?
Thanks in advance.
I have form to send data to database (text box and textarea box). It work. But I don't know how get user id to send to database. Anyone can help-me?
Thanks in advance.
Hello calangoloco,
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?
How can I ask new users for information and not ask logged in users?
How can I show a Thanks Message then redirect the user?
How do I set up user validation in my form?
How to store and load user's data
How do I send an email to the user?
How can I upload files under some user's folder
How can I get information about the user?
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?
How can I ask new users for information and not ask logged in users?
How can I show a Thanks Message then redirect the user?
How do I set up user validation in my form?
How to store and load user's data
How do I send an email to the user?
How can I upload files under some user's folder
How can I get information about the user?
P.S: I'm just an automated service😉
I was like this:
Hidden field with field name equal to the field
In Setup - on load: Custom code:
<?php
$user =& JFactory::getUser();
$form->data['client_id'] = $user->id;
?>
Hidden field with field name equal to the field
In Setup - on load: Custom code:
<?php
$user =& JFactory::getUser();
$form->data['client_id'] = $user->id;
?>
This topic is locked and no more replies can be posted.