Hello
I am creating a form with ChronoForms V6, I need to load in an input box of the form the user data joomla, name, email, username.
In ChronoForms V5, I added a "custom code" element in the onload event and with the following php code and I solved it.
In ChronoForms V6 I can not find the way to do it can you tell me how to do it?
Thank you very much !
I am creating a form with ChronoForms V6, I need to load in an input box of the form the user data joomla, name, email, username.
In ChronoForms V5, I added a "custom code" element in the onload event and with the following php code and I solved it.
<? Php
$ User = \ JFactory :: getUser ();
$ Form-> data ['email'] = $ user-> email;
$ Form-> data ['name'] = $ user-> name;
$ Form-> data ['username'] = $ user-> username;
?>
In ChronoForms V6 I can not find the way to do it can you tell me how to do it?
Thank you very much !