Autopopulate multiple positions in repeats

02-18-2022 03:44 PM
New Contributor III


Is there a way to autopopulate the answer to a question inside a repeat at multiple positions using calculations?

For exemple, consider a text question named Animal that takes in a string as answer (ex: Dog)

When the user writes Dog, another question that is inside a repeat get autopopulated (at position 1).

Now if the user changes his mind and replace Dog by Cat in the text question outside the repeat, I would like the question inside de repeat to get autopopulated at position 2 (with a different answer that in position 1). And so on.

Is this possible?

0 Kudos
1 Reply
Esri Notable Contributor

I think this should do.


The pet question within the repeat is calculated when the record within the repeat is loaded (displayed). If new record, the calculation replaces the empty value with the selection outside the repeat.  If revisiting a record, the calculation will not overwrite the existing value, but a recalculation button will be shown in case the user wants to recalculate.  Changing the pet question outside the repeat only affects the visible record.




0 Kudos