Good Morning,
I have a survey form for collecting samples from buildings. The samples are contained within a repeat ( ${repeat_samples} ). Within the repeat, I have fields for Building Number, Floor Number & Room Number. Since multiple samples are always taken from each room, I would like NEW samples to default to the Building, Floor and Room values entered in the previous record. This is the formula that I've tried using, but receive a dependency cycle error:
indexed-repeat(${bldg_num}, ${repeat_samples}, position(..)-1)

Any help greatly appreciated. Thanks