# Binding radio buttons

**URL:** <https://discourse.aurelia.io/t/binding-radio-buttons/1420>\
**Category:** Help Requests\
**Created:** [July 11, 2018, 2:24pm UTC](https://discourse.aurelia.io/t/binding-radio-buttons/1420 "2018-07-11T14:24:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SNO](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/sno/32/650_2.png) [@SNO](https://discourse.aurelia.io/u/SNO)\
**Post date:** [July 11, 2018, 2:24pm UTC](https://discourse.aurelia.io/t/binding-radio-buttons/1420/1 "2018-07-11T14:24:16Z")

</div>

I tried to create radio buttons using the aurelia documentation ([https://aurelia.io/docs/binding/radios#booleans](https://aurelia.io/docs/binding/radios#booleans)). But this solution doesn’t prefill the radio buttons on page load:

```auto
<input type="radio" name="myId" model.bind="true" checked.bind="object.MyBooleanVariable" /> Test1
<input type="radio" name="myId" model.bind="false" checked.bind="object.MyBooleanVariable" /> Test2

```

Adding a snippet `${object.MyBooleanVariable}` to my code, it displays e.g. a true on page load, but the respective radio button isn’t preselected.

What I’m doing wrong here?

**UPDATE**  
I found the issue. It was my fault, sorry. Louping through a form I had duplicate input-names.
