Allright I have the following code in a chunk:
[[!+fi.error.data_field]] [[!+fi.error.data_field:notempty=`Test message`]]
This:
[[!+fi.error.data_field]]
Shows me the error (This field is required).
But this:
[[!+fi.error.data_field:notempty=`Test message`]]
Doesn’t show a message...how come?
Even stranger, is that it
does work on about 10 placeholders right before
this one...
[edit]
Oh nice, it gets getting stranger:
[[!+fi.error.data_field]] [[!+fi.error.data_field:notempty=`Test message`]]
Above code works, but only shows "Test message"
[[!+fi.error.data_field:notempty=`Test message`]]
Doesn’t work, does not show message
[/edit]
(MODx
2.0.8)