URL parameters - how to launch a partially answered survey response?

More
4 years 7 months ago #94502 by hanksterr7
hanksterr7 created the topic: URL parameters - how to launch a partially answered survey response?
Hi

I would like to auto-launch a survey for a user, allowing them to resume a survey they had already started. Is this possible? I know how to pre-fill questions in the survey when I launch it for them via the url arguments (such as http://<svr>/index.php?r=survey/index/sid/762745/newtest/Y/lang/en&762745X6X222=abcd

What other options exist for parameters I can pass in the URL to control survey behavior, and hopefully auto-load a prior response?

Thansk

-- Hank

Please Log in to join the conversation.

More
4 years 7 months ago - 4 years 7 months ago #94505 by DenisChenu
DenisChenu replied the topic: URL parameters - how to launch a partially answered survey response?
Hello,

To have a complete prefilling system, best is to use token and "Enable token answer persistance".
Here you have 2 choice:
- Prefill answer (use default answer) with some attribute
- Start each survey and prefill answer in each survey (you can use vv import/export for this).

But you can use too prefilling answer, but it's more complicated because you need one paramtere for each question.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 4 years 7 months ago by DenisChenu.

Please Log in to join the conversation.

More
4 years 7 months ago #94541 by hanksterr7
hanksterr7 replied the topic: URL parameters - how to launch a partially answered survey response?
Ok, I got the token approach working. I can open a url like
http://svr/index.php?r=survey/index/sid/698233/token/tzxkr6c4rrv7trh/newtest/Y

and it will re-open the survey with all the prior answers filled in. Cool! Thanks

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!