Select to view content in your preferred language

Prepopulate from one survey to another using URL

616
3
09-06-2023 08:42 AM
JovanaB
Occasional Contributor

Hello - I am using Survey123 Connect to create a custom "generated_note_prompt_submitted" note to pass certain fields from one submitted web form survey to another web form survey. With bits and pieces I gathered from other posts, I was able to get to this point, but not sure how to pass along the actual survey link into the custom URL. 

JovanaB_0-1694014878319.png

 

0 Kudos
3 Replies
IsmaelChivite
Esri Notable Contributor

If you want to construct a URL to open a web form, check this: https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-web-form-url/ba-p/... 

If you want your URL to open a form in the mobile app, check this: https://community.esri.com/t5/arcgis-survey123-blog/understanding-survey123-s-custom-url-scheme/bc-p... 

0 Kudos
JovanaB
Occasional Contributor

Thanks for the links @IsmaelChivite - however even after following the tips to structure the URL in the form, it doesn't accept a field parameter to pass the answer to the new survey. 

This is how I formatted my URL in Survey123 Connect:

JovanaB_0-1694100230083.png

And this is what I get when I test it in my survey:

JovanaB_1-1694100531779.png

 

My end goal is to copy over some answers from one survey submission into a new survey submission.

0 Kudos
IsmaelChivite
Esri Notable Contributor

I did not understand initially what you were trying to do. It was explained well in your original post... but I read to quickly... I guess I understand now.  You want to launch a second survey, while passing parameters, once the first survey has been submitted. 

Your attempt to hijack the Thank You screen was very clever! However, it will not work.  When embedding content into the Thank You screen we need to do some additional clearing/processing and the syntax is not so straight-forward.

I want to make sure I fully understand your use case, as we are thinking about ways to allow things like what you describe. Any chance we can get on the phone to discuss in more detail?  If open to that, please send an email to survey123@esri.com referencing this discussion so I can put something in your calendar. Thanks!

0 Kudos