Yoothemes UIKit (http://getuikit.com) provides a way of making a button group appear to function like radio buttons. See about half way down on this page: http://getuikit.com/docs/button.html
But the documentation is entirely missing on how to make the button group actually function like radio buttons in a form. Grateful for advice on this.
Currently if I use them in a form any button clicked submits the form. example form for iphone ordering options:
<form>
<div class="uk-button-group uk-margin-bottom" data-uk-button-radio>
<button class="uk-button uk-button-large">16gb</button>
<button class="uk-button uk-button-large">32gb</button>
<button class="uk-button uk-button-large">64gb</button>
</div>
<div class="uk-button-group uk-margin-bottom" data-uk-button-radio>
<button class="uk-button uk-button-large">Space Gray</button>
<button class="uk-button uk-button-large">Gold</button>
<button class="uk-button uk-button-large">Silver</button>
</div>
<button type="submit" class="uk-button uk-button-large uk-button-primary"><i class="uk-icon-magnifier"></i> Review and Order</button>
</form>
This worked for me:
Alternatively you could do something like this too:
Hope it helps.