How can I get the value of the user ID after succesfully adding a new user with the Save User action in a Chronoforms V7 form?
In CF5 I ran a php custom code with this statement:
$form->data ['new_user_id'] = $form->data['_PLUGINS_']['joomla_registration']['id'];
In CF7 my custom code contains this statement:
$this->data ['new_user_id'] = $this->data['_PLUGINS_']['joomla_registration']['id'];
but the value of new_user_id is null.
You should find the id in the debug of the form, it will be under the action's var:
$this->get("action_name")["id"]
No problem :)
