Hi,
I am trying to retrieve the ID of the active user in the form (and not the logged on user => $user->id) in a SQL query (dynamic cascade)
SELECT a.id AS value, a.title AS text
FROM #__usergroups AS a
JOIN #__user_usergroup_map AS b ON a.id = b.group_id
WHERE a.parent_id = 11 AND b.user_id = $user->id
$config["pk"] can not be used => Create content dynamiclly using code
then I get it in my request or have to go through a beforeStore ?
Thank you for your ideas :)