[TYPO3-mvc] FormViewHelpers (suggestions)

Jochen Rau jochen.rau at typoplanet.de
Fri Feb 19 11:28:05 CET 2010


Hi.

Thanks for sharing your code.

On 19.02.10 10:26, Nils Blattner wrote:
> I'm not gonna post my form ViewHelpers, as they are pretty much the same
> as the original fluid ones. BUT they miss some standard attributes:
>
>
> $this->registerTagAttribute('onchange', 'string', 'onChange event.');
> $this->registerTagAttribute('onkeyup', 'string', 'onKeyUp event.');
> $this->registerTagAttribute('onclick', 'string', 'onClick event.');

These are not "universal attributes". But you can write

additionalAttributes="{onChange : 'submit();'}"

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list