[TYPO3-mvc] Render model validation rules in fluid form fields

Claus Due claus at wildside.dk
Tue Jan 31 21:23:53 CET 2012


> So I'd
> prefer client side validation using rules from element attributes.

Oh, I agree :)

This should also be possible but naturally would require some sort of translator for the built-in validators and would otherwise (in your own validators) always require regexp validation. The last one I see as the biggest problem.

It would be a small trick to make an annotation parser to fetch validation regexps for properties in a model.

--
Cheers,
Claus
http://fedext.net


More information about the TYPO3-project-typo3v4mvc mailing list