SoilentRed
Caaan do!
I'm going to use the Juser form plugin so that my team leaders can add members to the site and their group. I'm using the PHP form plugin to insert a row into a table (onAfterProcess) that has: groupid, memberid, approved and permissions - (This is for JomSocial _community_groups_members table).
I assume that when the form is submitted, it simply autoincrements the userid the for the Joomla _users Table. I need to be able to capture the new user's ID and add it to the insert values as memberid for the _community_groups_members table.
How, I ask you... HOW?!?!?
Is there a way I can have an element capture the new userid on submit?
You're help is valued and appreciated.
I assume that when the form is submitted, it simply autoincrements the userid the for the Joomla _users Table. I need to be able to capture the new user's ID and add it to the insert values as memberid for the _community_groups_members table.
How, I ask you... HOW?!?!?
Is there a way I can have an element capture the new userid on submit?
You're help is valued and appreciated.