I am using the "Joomla User Create/Update" action in an On Submit event. After the Joomla user is created, I would like to capture the new User ID created in order to update another table.
I am using this code to try to populate a form field with the new ID, but it is not working:
Any idea what I am missing?
Chronoforms: Latest v4 Version
Joomla: 3.2.1
Rick
I am using this code to try to populate a form field with the new ID, but it is not working:
<?php
$newuser = $form->data['_PLUGINS_']['joomla_registration']['id'];
$form->data['reg']['advreg_login_user_id'] = $newuser;
?>
Any idea what I am missing?
Chronoforms: Latest v4 Version
Joomla: 3.2.1
Rick