-
☆ A M B ☆
- 24,524 Posts
Do you have the PHx plugin intsalled? Eform does not include or use the phx class file by itself.
Absolutely. PHx works great in all chunks but this chunk for email.
I think it will not work like this. Because chunk is being parsed by the eForm and not by the MODx document parser.
But you can use eForm events to alter the data.
I could be wrong.
-
☆ A M B ☆
- 24,524 Posts
Ah. That’s because the mail report never actually exists in the document Object; it’s strictly internal to eForm and gets mailed off without MODx (or PHx) ever seeing it.
You should be able to do something with the &eFormOnBeforeMailSent event. Perhaps in your report, just put the placeholder there, and in the event function if it exists in the $fields array replace the bare value with the entire line you want.