Form Builder: Frontend Validation

If you use the Neos Form Builder and would like to use Frontend Validation, e.g. ParsleyJS, you will have to evaluate the required/max length properties of a form element as well as the validators added to the element and then generate the according attributes (in case of ParsleyJS data-parsley- attributes.

I created a ViewHelper that might be useful as inspiration for your own validation or if you intend to use ParsleyJS, so I thought I might share it:

3 Likes