PHP-file: end of questionnaire

More
3 years 1 month ago #106777 by hyllos
hyllos created the topic: PHP-file: end of questionnaire
Hi,

At the end of a questionnaire LS normally redirects the participants to the ‘standard end’ (you successfully completed the questionnaire, your data have been saved, etc.).
I want to redirect them to an URL that displays an individualized analysis of the questions, but I don’t know in which php-file I can find the code for the automatic end of the questionnaire. Should be in Limesurvey>application>views>admins, shouldn’t it?

If possible I’d prefer to change it directly in php – can anyone please help me?

thanks!

Please Log in to join the conversation.

More
3 years 1 month ago #106782 by holch
holch replied the topic: PHP-file: end of questionnaire
Have you had a look at the "end url" feature? I think this is exactly what you are looking for, without having to change anything in PHP.

The respondent will be redirected to this URL and you can even add variables and responses to that URL.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 month ago #106783 by holch
holch replied the topic: PHP-file: end of questionnaire

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 month ago #106784 by holch
holch replied the topic: PHP-file: end of questionnaire
Hmm, sorry!

I thought the end url would autmatically redirect, but it it doesn't.

You need to do one more step: General survey settings -> Presentation & Navigation -->
Automatically load URL when survey complete? --> Yes

If you have this setting, there will be no end message, but after submitting the survey the respondent will be redirected automatically to the end url.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 1 month ago #106788 by hyllos
hyllos replied the topic: PHP-file: end of questionnaire
Many thanks, this should work and it's the easy way.
Sometimes you miss the forest for the trees...

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now