[Flow] More flexible formfield generation

Bastian Waidelich bastian at typo3.org
Tue Aug 5 19:55:48 CEST 2014


Carsten Bleicker wrote:

Hi Carsten ;)

> i allways struggle uppon the limitation of formfield viewhelpers (missing min/max f.e. on f:textfield).

In that case you'll probably like the "dynamic arguments" feature Marc 
started: https://review.typo3.org/#/c/31708/

> Please have a look at this:
> https://gist.github.com/pumatertion/9f0bbd21810dcafb3837

To be honest I think the resulting fluid code is quite technical and 
hard to comprehend.

Your example (render a list of checkboxes for one collection-property) 
is technically equivalent to a <select multiple /> so personally I'd 
prefer a syntax similar to the select form VH: 
https://gist.github.com/bwaidelich/ea157e1a694b6885c53f


But that's just my personal opinion, let's see what others think.

-- 
Bastian Waidelich


More information about the Flow mailing list