[Flow] RFC: Move form.validationResults ViewHelper to validation.result?

Bastian Waidelich bastian at typo3.org
Thu Dec 5 18:29:47 CET 2013


Hi all,

Adrian had the great idea to introduce a ViewHelper that enables you to 
check whether a certain property contains validation error(s) so that 
you can for example add an error class to the wrapping tag (see [1]).

Instead of adding it to "form.hasValidationErrors" we could introduce a 
new sub namespace "validation" and call it "validation.hasErrors".
For consistency we should then move "form.validationErrors" to 
"validation.errors" (see [2]).

Before we merge this change we want to give you the chance to vote 
against it, if you think deprecating "form.validationErrors" is a bad idea:

http://doodle.com/hqedcqgtpnfea2ub


[1] https://review.typo3.org/25949
[2] https://review.typo3.org/25953

-- 
Bastian Waidelich


More information about the Flow mailing list