Boolean question: how to get checkbox inside a repeat table to update value in a Data Store on change?

Hi all boolean experts

I have a checkbox in the repeat table below:
<tbody id="poll_question_table" is="dmx-repeat" dmx-bind:repeat="questions.data" key="$id">

Checkbox:
<input class="form-check-input float-right position-static" type="checkbox" checked="" value="1" id="randomise" name="poll_random" dmx-on:changed="questions.update({$id: '$id'},{randomise: checked})" dmx-bind:checked="randomise">

The checkbox updates the data store Boolean value “randomise” on Value Changed, but I can not get the checkbox to work.

Where am I going wrong?

On repeat row creation I want the checkbox to be empty and then on change to be checked or unchecked by updating the data store boolean value on Value Changed. It loos like nothing is changing on Value Changed or alternatively Value Updated.

I just can not get it to work.

Any help to show how this should be and why if possible would be great :smiley:

Community Page
Last updated: