[TYPO3-english] piVars, "[" & XHTML
Peter Russ
"peter,russ" at 4many.net
Thu Jan 8 15:26:20 CET 2009
--- Original Nachricht ---
Absender: Stephan Petzl
Datum: 08.01.2009 14:56:
> 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"
>
Your knowledge about naming in XHTML should be upgrade/improved. There
is no rule that the name of an object has to be identical with the name.
Please check with W3C.
Regs. Peter.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many� Services
XING: https://www.xing.com/go/invita/360052
http://www.xing.com/go/privatemessage/Peter_Russ
More information about the TYPO3-english
mailing list