-
- 659 Posts
As far as I know, it outputs the error messages like "error when sending mail" or errors while processing the form...
Cheers
-
- 380 Posts
So it does - thanks!
I was confusing it with the field validation messages.
That just leaves the 2nd point on how to change the formfield css class to highlight borders in red for error fields.
-
- 380 Posts
Perfect thanks
I couldn’t find this is in the documentation. Is this type of thing documented somewhere so I don’t have to pester you guys?
-
- 16 Posts
For me it doesn’t work. (MODx Revolution 2.0.0-en rev7212)
this
[tt][[!+Fi.error.fieldname]][/tt]
returns the value of error.(This mean that working properly)
but this
[tt][[!+Fi.error.fieldname:notempty=`error`]][/tt]
not return any value. It looks like as empty.
Maybe my filters are disabled or not installed?
-
- 16 Posts
Hmmm ....
Your solution actually works!!! THX
I checked the manual and I’m not found a way such as your:
http://rtfm.modx.com/display/revolution20/Input+and+Output+Filters
Where did you get this solution? I searched the whole manual... Hmmm?