I've got a few things I'm confused about regarding button-groups. When used w/in a form, the buttons in my button group toggle, but also immediately submit the form. Catching the click, and canceling it prevents the toggle from working. What am I doing wrong here?
Also, how do I tie the buttons to actual form elements, or in some other way record the value indicated by the user's selection? Is the idea there to add click events and store the data using JS, or is there a simpler way? Thanks!
