Prevent Duplicate selection of select_one inside a nested repeat

Hello All,

I am trying to prevent double selection of a select_one option within nested repeats. I am able to get it working for the first repeat based in examples from this forum, but when I create a nested repeat I cannot get the second ‘prevent double selection’ to work.
I am sure it is because I need to reference the first repeat within the calculations but I am not sure how to do this, currently I am using ‘…’ but it seems to not be reading the path.
I appreciate any guidance on this issue. I have attached an example form.
NoDuplicatesDoupleRepeat.xlsx (21.3 KB)

@Rusti, this post discussed previously should help you solve your issue:

Hi Kal,

Thanks the for the reply, I have the restricted selection working fine within one repeat but I am struggling to get it to work within a nested repeat as set out in the xls form I uploaded previously.


Select the fruit = Apple

within the Fruit Repeat (Apple) select the colour = red
Select the next colour of Apple = Green - you should not be able to select red again (but only for apple).

Select the next Fruit
Select the next Fruit Colour etc.