Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: PHP-file: end of questionnaire

PHP-file: end of questionnaire 6 Monate 3 Wochen her #106777

  • hyllos
  • hylloss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 5
  • Karma: 0
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

PHP-file: end of questionnaire 6 Monate 3 Wochen her #106782

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2851
  • Dank erhalten: 359
  • Karma: 124
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

PHP-file: end of questionnaire 6 Monate 3 Wochen her #106783

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2851
  • Dank erhalten: 359
  • Karma: 124
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

PHP-file: end of questionnaire 6 Monate 3 Wochen her #106784

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2851
  • Dank erhalten: 359
  • Karma: 124
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.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

PHP-file: end of questionnaire 6 Monate 3 Wochen her #106788

  • hyllos
  • hylloss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 5
  • Karma: 0
Many thanks, this should work and it's the easy way.
Sometimes you miss the forest for the trees...
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.139 Sekunden
Donation Image