Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » some form elements not valid html

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

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

Page: 1
Go to End
Author Topic: 1987 Views
  • Nicolaas
    Avatar
    Forum Moderator
    213 Posts

    some form elements not valid html Link to this post

    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

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: some form elements not valid html Link to this post

    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

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: some form elements not valid html Link to this post

    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.

    1987 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.