Jump to:

2011 Posts in 1436 Topics by 620 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: 357 Views
  • Bennett
    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
    Forum Moderator
    5508 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

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.