[TYPO3-dev] TCA with TEXT element

Mathias Schreiber [wmdb >] mathias.schreiber at wmdb.de
Fri May 8 09:02:07 CEST 2009


Stéphane Baribeau schrieb:
> Hi guys,
> 
> Im trying to make a TCA with my extension and use TEXT element without RTE.
> I would like to know if i have a way to limit the size of the TEXT people
> can write.
> Like input type we can set max => 50 or something like that. does it
> possible to set that with 'text' type?
> 
> Or does it possible by javascript to check how much char people type in BE?

AFAIK you would need to render this field with a userFunc.
Another option (haven't checked the core yet) is to add a user field 
that only renders the JS and displays a nagging ALERT when people reach 
a certain charcount in a field.

cheers
Mathias




More information about the TYPO3-dev mailing list