[TYPO3-content-rendering] tt_content.mailform: different wrap for textarea needed

Michael Bakonyi konakt at mb-neuemedien.de
Thu May 29 14:06:53 CEST 2008


Hi,

unfortunately all input-elements are surrounded by div's with the same 
class-name when using the standard mailform-sysext.

Is it possible to give these div's different class-names depending on 
the tag-type or is it possible to wrap an extra div around the textarea-tag?

I know that it's possible to add a classname to the textarea but that's 
not enough for my problem ..

Couldn't see a solution in the css_styled-setup so far ... This is the 
line I'm talking about:

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

Would be great if someone could help me out. :-)

Michael


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