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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

some form elements not valid html


Go to End


3 Posts   2308 Views

Avatar
Nicolaas

Forum Moderator, 224 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.