[TYPO3] How to add a class argument to every password form field?
info at cybercraft.de
Sat Jul 14 00:45:51 CEST 2007
>> The answer to rendering questions (i.e. questions regarding the HTML
>> output) is /always/ 'check the TS object browser'.
>> In this case, you're looking for tt_content.login.20 (which is a FORM
> Hi! Well in general I would like to do it with every form field (later
> on also normal text input fields) from all extensions etc. Isn't
> there a way to do it automatically? Some general T3 setting like "if
> you output a form field without any class attribute then insert one..
You could parse the whole content after generating it and do a search and
But this would be a burte force attack ;-)
The more elegant approach could be using XSLT to modify the output to your
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-english