Forums

E-mail form for registered users

ibsistemas 10 Nov, 2011
I know that to do that all I have to do is set the ACL to registered users.
But I have one doubt. Since the user is already registered, I need to find out a way to send his Joomla Information, such as name, at the e-mail.
Is that possible? To recall the name information on Joomla, and send it as an e-mail using Chrono Forms? Or do I have to add the field name on the forms?

Thanks in advance,
Fernando
GreyHead 11 Nov, 2011
Hi Fernando,

You can do this with the info from the Joomla! User object. Search here on JFactory::getUser() for some examples.

I've also just published a custom Action that will load all of the User info into the $form->data array for you. You can get it from here

Bob
This topic is locked and no more replies can be posted.