[TYPO3-content-rendering] TYPO3 3.8.0 XHTML strict mailform

ben van 't ende [netcreators] ben at netcreators.nl
Mon May 30 15:21:26 CEST 2005


Hi List,

I have been testing a bit with the latest mailform in TYPO3 3.8.0. I 
can't really get enthousiastic about it.

On this page (http://ben.vantende.net/t3/mail/) you can find a mailform 
with almost all options with this setup:

tt_content.mailform.20 {
	accessibility = 1
	REQ = 1
	layout = ###LABEL### ###FIELD###<br />
	COMMENT.layout = ###LABEL###
	RADIO.layout = ###LABEL### <fieldset 
class="mf-radio">###FIELD###</fieldset><br />
	LABEL.layout = ###LABEL### <span class="mf-label">###FIELD###</span><br />
	labelWrap.wrap = |
	commentWrap.wrap = |
	radioWrap.wrap = <label>|</label>
	REQ.labelWrap.wrap = |
	stdWrap.wrap = <fieldset class="csc-mailform"> | </fieldset>
	params.radio = class="mf-radio"
	params.check = class="mf-check"
	params.submit = class="mf-submit"
	}

I haven't styled it in anyway, but validating (xhtml_strict) returns a 
number of errors:

1. attribute "name" in form element

2. attribute "wrap" in textarea element

[accessibility = 1]
3. id's for radiobuttons are not unique. (don't now how this should 
actually be) who knows?

4. incredible long hashed id's. there is a bug describing an issue with 
square brackets here:  http://bugs.typo3.org/view.php?id=1075 Martin 
just told me he wants to patch that for 3.8.1


Does anyone have any thoughts on the first three items? Should they be 
deleted or changed to something else/

gRTz

ben
-- 
netcreators :: creation and innovation
www.netcreators.nl -  www.typo3.nl



More information about the TYPO3-project-content-rendering mailing list