Hi everyone,
I'm building a Survey123 form in Connect, and I need help assigning the most recent value from a field inside a repeat in a field outside the repeat (i.e., in the parent layer).
Here's my structure:
A repeat called reporte_evento, which includes a field named heridos (injured).
Outside the repeat, I have a field called ult_envio_heridos where I want to automatically show the most recent value entered for heridos within the repeat.
What is the recommended way to achieve this?
I've seen references to pulldata("@last"), indexed-repeat(), and even pulldata("@layer"), but i couldn't get neither of them to work ,the ult_envio_heridos in the parent layer appears empty every time
Is there an official approach for this pattern?
Thanks in advance for your help!