how Select Box can show specify choice according to user

Alvin created the topic: how Select Box can show specify choice according to user

Hello all,
I want to make a Select Box that can access the database and show up different selections according to the user itself.
I want to write a sql to show the selections which is related to the login account, so I want to write sometime like this:
$query->where($db->quoteName('team_id')." = ".$db->quote(JFactory::getUser()->id));
but when I am using the form creator, I cannot do this, so how can I specify the selection to be related to the login account?

#93647
Attachments:

Please Log in or Create an account to join the conversation.


Anoush replied the topic: how Select Box can show specify choice according to user

Hello Alvin,

How are you?

Unfortunately, it not possible to get using a few simple features. You need to do an additional customization.
Thanks! Have a great day!

#93695

Please Log in or Create an account to join the conversation.


Time to create page: 0.596 seconds
Powered by Kunena Forum

Never miss important news and exclusive offers!

Join Our Community