[TYPO3-dev] which naming scheme for a CSS XHTML id

Franz Holzinger franz at fholzinger.com
Thu Jun 8 22:53:23 CEST 2006


Robert Markula a écrit :
> 
>> 1. Any given record already _has_ a uniqe id in the database, so why
>> not use that number in any required ids instead of a new numbering
>> system?
> 
> 
> I just checked the XHTML 1.0 strict/XHTML 1.1 specification, and the
> value of an id must start with a letter, not a digit.
> So just a plain rendering of the record id is not valid.
> 

You could do something like this:

<INPUT size="8" maxlength="10" type="text" name="###FIELD_NAME###"
value="###FIELD_QTY###" id="tt_products_###PRODUCT_ID###">





More information about the TYPO3-dev mailing list