Select to view content in your preferred language

Pre-populating a repeat question in survey123 connect

162
1
03-21-2025 12:48 AM
DanielleGale
New Contributor

Hi all, 

I have built a questionnaire in survey123 connect and would like the ability to pre-populate as much as the information as possible before sending to clients in order to reduce the amount of manual input required.

So far I have used a pulldata() function to pre-populate non-repeat questions from a client_data.csv file stored in the surveys media folder using the client_id as the look up column. I have then used a URL parameter to feed the client_id to the survey and pre-populate the information below. 

DanielleGale_1-1742542909620.png

DanielleGale_0-1742542848525.png

https://survey123.arcgis.com/share/141c94cfee124e5f8b2944000a6e9e10?field:client_id=123

However, this method does not work for the repeat questions within my survey. Is it possible to pre-populate repeat questions and if so how?

0 Kudos
1 Reply
LaurenceTait
Frequent Contributor
I'm thinking that the URL call is causing the problem because the repeat can't read it in real time. Can you change the name of the 'client_id' field to 'client_id_note' and then make the following changes: 
Capture.JPG

Hopefully the once() function will lock the value and allow the repeat to read it. If not, try toggling the client_id_confirm yes/no and see if it makes a difference.

0 Kudos