Hi,
I have a form with a "Save User" action. When I placed the Save user in the Submit-Area, I hat troubles to access the output data of the action. I was able to access {var:joomla_user22_activation_url} variable, but could not get the User-ID {var:joomla_user22.id}.
It worked as I placed the Save User action into the Presubmit-Area in the Load section. But now the recaptcha validation isn't working as expected anymore. The Validation seems to run only after the Presubmit-Actions have been performed, so I have a new user, even when the captcha was not successful.
I tried to add conditions to the presubmit to only run, when the captcha is true, but it seemed like the result of the captcha is also not available in presubmit.
Does anyone have a suggestion how to
- create user only after passed captcha validation AND
- be able to access the complete save_user object data directly after creating the user?
Hi mowe
you should place the Save User in the submit event and you can access all info after it has been processed, you may enable the form Debug to view all the info provided by the action.
The new user id should be available there, if this is not the case then please post a screenshot of the debug of the action
Hi Max,
thank you for having a look into it. In the debug I can see all object data from the save_user action. But I cannot access it the usual way using {var:joomla_user}I placed a PHP Script to show that I cannot retrieve those data, even if they appear in the debug.


Hi mowe
There is a bug, the On Save Success"event is called before the values are set under the variables, that's why it does not work for you, if you move the PHP action below the Save User then your code should work fine
And I have fixed this here for the next update, it should work as you have now, thanks for the screenshots!
