Bug #15283
closedFORM with image buttons doesn't validate as XHTML
0%
Description
When an image button is used for submitting a standard Typo3 FORM element, the button (type="image") is rendered with WIDTH, HEIGHT & BORDER attributes, which prevents the page from validating..
The example below illustrates the problem.
lib.formtest = FORM
lib.formtest {
dataArray {
10.label = Name:
10.type = name=input
10.value = [Enter name]
10.required = 1
20.label = Eyecolor
20.type = eyecolor=select
20.valueArray {
10.label = Blue
10.value = 1
20.label = Red
20.value = 2
20.selected = 1
}
40.type = submit=submit
40.value = Submit
}
accessibility = 1
layout = ###LABEL### ###FIELD###<br />
image = IMAGE
image.file = media/emoticons/smile.gif
}
page.10 < lib.formtest
(issue imported from #M2043)