We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Forms, Form Processing & Anti-Spam
eForm
Search
eForm and PHx
592 Posts
laurentc
Reply #1,
16 years, 8 months ago
I try to use this PHx PH : [+message:nl2br+] in an eForm report template but it doesn’t work.
Is there a way to use PHx in eForm templates ? Or can we use a snippet for this template to ?
Repository :
Addbookmark
-
AddpopupLink
-
FootNote
-
WebusersImport
-
TooltipX
-
Xternalinks
1 Posts
roblambell
Reply #2,
10 years, 11 months ago
I found this thread searching for 'MODx eForm nl2br' so am here to share a solution for anyone else in the same situation!
PHx still doesn't work in this context, in my testing with MODx Evolution.
eForm, however, can do this on it's own. Take a look at the eform(pseudo) attribute and the html option
http://wiki.modxcms.com/index.php/EForm#Datatypes_and_formatting