Problem with Multi Insert

Can’t seem to get a multi insert to work from as follows.

I have a repeat region that has two form fields inside.
These are multiplied by the number entered in the input field above it. ( ‘how many blocks’ shown below )

<input type="number" class="form-control" id="blocks" name="blocks" aria-describedby="howmanyblocks-label" placeholder="If yes how many Blocks" data-rule-number="" data-msg-number="Numeric values only please." dmx-bind:disabled="(splitBlock.value == 'No')" min="2" data-msg-min="A minimum of 2 blocks is required." required="" data-msg-required="Please specify how many blocks." dmx-bind:required="(splitBlock.value == 'Yes')" data-rule-min="2" max="10" data-rule-max="10" data-msg-max="A maximum of 10 blocks is permitted" dmx-on:updated="blocks.validate()">

Here’s the variable that has the value of the above input:

<dmx-value id="blockNumber" dmx-bind:value="rtmApplicationForm.blocks.value.toNumber()">

And here’s the repeat region:

<div role="group" class="row block-details" area-labelledby="block-label" is="dmx-repeat" id="blockRepeat" dmx-bind:repeat="blockNumber.value">

<div class="col-md-6">
<div class="form-group row">
    <label for="blockName1" id="block1-label" class="sr-only">Block 1 name</label>
    <div class="col-lg-6 col-xl-7">
        <input class="form-control name" name="blockName[]" dmx-bind:id="'block_name'+($index+1)" dmx-bind:name="'block_name'+($index+1)" aria-describedby="block1-label" required="" data-msg-required="Please specify the name of this block." dmx-bind:placeholder="'Name of block_'+($index+1)" dmx-bind:required="(splitBlock.value == 'Yes')">
    </div>
    <label for="blockNumbering1" id="numbering1-label" class="sr-only">Block 1 numbering</label>
    <div class="col-lg-6 col-xl-5">
        <input type="text" class="form-control" name="blockNumbering[]" dmx-bind:id="'block_numbering'+($index+1)" dmx-bind:name="'block_numbering'+($index+1)" aria-describedby="numbering1-label" dmx-bind:placeholder="'block_'+($index+1)+'Numbering i.e 1-9'" required="" data-msg-required="Please specify the numbering for this block." dmx-bind:required="blockName.value">
    </div>
</div>
</div>
</div>

Here’s screen shots showing set-ups

I am currently using the field values from the post data bindings for the insert properties. or do I use the bindings from the ‘record’ array further down the picker? ( See Video )

Can anyone see where i’m going wrong?
Thanks in advance!

Community Page
Last updated: