Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Form radio button labels are on next line?

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: 3254 Views
  • cheekygeek
    Avatar
    Community Member
    6 Posts

    Form radio button labels are on next line? Link to this post

    Greetings all,
    New to SilverStripe and really impressed.

    I'm not sure if this is an issue specific to the template I'm using or to SilverStripe itself...
    (I'm using the Higherground theme - if it matters).

    When I create a radio button question the radio button label is on the line FOLLOWING the radio button, when I'd like it on the same line. How to I control that?

    An example of what I'm seeing (screenshot):

    The HTML being produced looks like this:

    <div id="EditableRadioField24" class="field optionset ">
    <label class="left" for="Form_Form_EditableRadioField24">Are you currently selling wind turbine systems?</label>
    <span class="middleColumn">
    <ul id="Form_Form_EditableRadioField24" class="optionset ">
    <li class="odd valYes">
    <input id="Form_Form_EditableRadioField24_Yes" name="EditableRadioField24" type="radio" value="Yes" >
    <label for="Form_Form_EditableRadioField24_Yes">Yes</label>
        </li>
    <li class="even valNo">
    <input id="Form_Form_EditableRadioField24_No" name="EditableRadioField24" type="radio" value="No" checked="checked" >
    <label for="Form_Form_EditableRadioField24_No">No</label>
    </li>
    </ul>
    </span>
    </div>

    TIA for any info on how to make this change.

    3254 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.