Do you have a workaround on how to use a previous value of a variable within a repeat group in another variable in the repeat group without having a circular reference error? For example my user is supposed to enter a number of foods with different time of consumption but we also want to have the option to select type = same as previous. But when I'm trying to use the time[x] = time[x-1] where x is the current position I have circular reference error.
Use previous value within a repeat group
commcare