Hi.
I have a list of 59 items (called trades) on a page and all have a radio button to allow Multi-selection.
I can select a name of an item (trade) which will select the radio button for the item.
The item (trade) I am looking to select is in a div called “trade-block-item” (class) which will select the radio button when I select the div:
> <div class="trade-block-item" data-bind="css: { 'margin-bottom-20': $index() + 1 === $parent.items.length }, attr: { 'id': 'trade-type-' + SystemName }" id="trade-type-Roofer">
> <div class="trade-block-checkbox">
> <input type="checkbox" class="round" name="tradetypes" data-bind="attr: { 'id': 'checkbox' + Id}, click: $root.select.bind($root, $data), checked: $root.isSelected($data.Id)" id="checkbox799207">
> <label data-bind="attr: { 'for': 'checkbox' + Id }" for="checkbox799207"></label>
> </div>
> <div class="trade-block-name clickable" data-bind="text: Name, click: $root.select.bind($root, $data)">Roofer</div>
> </div>
With there being 59 items (trades), is that a way in which I can randomly select an item (trade) instead of always selecting the same item (trade)?