Jump to:

2002 Posts in 1422 Topics by 616 members

Form Questions

SilverStripe Forums » Form Questions » Individual radio buttons?

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

Page: 1
Go to End
Author Topic: 309 Views
  • Bennett
    Avatar
    Community Member
    2 Posts

    Individual radio buttons? Link to this post

    How can you have radio buttons in the same group but separated on the form? For example below, the two radio buttons (Existing User and New User) are part of the same group, but have other fields between them. I believe OptionsetField always displays the radio buttons together, so I can't use that. What can I use?

    O Existing User

    User ID: [_______]

    O New User

    Name: [_______]
    Password: [_______]

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Individual radio buttons? Link to this post

    I do believe SelectionGroup implements this functionality http://api.silverstripe.org/3.1/class-SelectionGroup.html

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