Buy Now
Sign in

Include Form Data In Email After User Activation

kko , January 15 2020, 22:11
K
kko 51
January 15 2020, 22:11 #390736
Hi. I'm customizing the demo form for user registration. I want to send an email with the form data AFTER user activation. I copied the email action from the "submit" event to the "activate" event. The "activate" email gets sent, but all the data values are blank. The email action under the "submit" event sends correctly. Can I get some guidance? Thanks.
healyhatman 8
January 16 2020, 02:25 #390737
Unless you store them somewhere, those form values are only available in the event the form is submitted to. So you will have to store them in a table with the user id and retrieve them in the activation action.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
K
kko 51
January 16 2020, 17:19 #390741
That is what I suspected. I am able to save the data to a table except for the user ID. All user_id values show 0. Please advise.
I am also having trouble with the retrieval set up. I have a Read Data action, but I do not understand all the settings that are needed to load this user's info into the email. Can you provide more specific instructions?
healyhatman 8
January 16 2020, 21:42 #390745
You need to use the user id from the save user action. {var:joomla_userblahblah.id}
In the activation step, get the ID from the activation action.
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store