Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

some form elements not valid html


Reply


3 Posts   2000 Views

Avatar
Nicolaas

Forum Moderator, 213 Posts

21 October 2007 at 5:42pm

Hi There

I noticed that some form elements do not produce valid html. Will that be fixed in the next versions or should I list this as a request? (i like all my code to be super valid... ;-))

Cheers

Nicolaas

Avatar
Ingo

Forum Moderator, 801 Posts

21 October 2007 at 11:36pm

hi nicolaas,

we're aware of this problem. its a bit tricky because we have to respect downwards compatibility with css-styling in the CMS and custom styling etc.
(e.g. <span class="middleColumn"> should be <div class="middleColumn"> for proper HTML-nesting).

we'd love to see some patches (if you're keen), optimally well cross-browser tested in the cms, and with annotations on what developers need to look out for when upgrading: http://open.silverstripe.com/#Submittingpatches

Avatar
dio5

Community Member, 501 Posts

22 October 2007 at 3:24am

I've came across this too.

I just threw out that span-middleColumn thing... so far nothing doesn't seem to be broken yet. :-)

But now each time I upgrade I will have to adapt this manually.