[TYPO3-english] piVars, "[" & XHTML

Stephan Petzl spetzl at gmx.at
Thu Jan 8 14:56:20 CET 2009


a lot of inputfields in TYPO3 FE extensions are named 
"tx_myextension_pi1[varname]". as far as i know in XHTML you have to 
assign the same value to the id attribute as to the name attribute
at least if you need an id attribute.
but when i assign "tx_myextension_pi1[varname]" to my fields id, i get 
following error by the XHTML validator:
line 96 column 138 - Error: character "[" is not allowed in the value of 
attribute "id"



More information about the TYPO3-english mailing list