Awesome, glad it’s useful. BTW, these snippets are now in part of the FormitFastPack component, which is in the repository. Let me know if you want anything added.
WebsiteZen.com - MODX and E-Commerce web development in the San Francisco Bay Area
I definitely will look into this, thanks for reporting the issue.
One thing that comes immediately to mind is that you may have mixed up the order of your hooks. Make sure the the arrays hook comes first, before the email hook, since that would make sure that the arrays are processed before the email is sent.
Also, I noticed that one of the placeholders below is "service_values" and the other is "services_values". Make sure you have the right placeholder (service or services).
If neither of those helped, could you tell me which version of MODx you are using and whether or not you are using the hook with FormitFastPack (and if so, if it’s the latest version). Also, please copy and paste the FormIt call and exact email template you are using (minus any identifying information of course).
WebsiteZen.com - MODX and E-Commerce web development in the San Francisco Bay Area
-
- 158 Posts
Man i have been struggling all day trying every combination of ways to handle this issue until i found this thread.
It’s a life saver.
Thanks Oleg!