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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
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
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.