Where is the PHP file for the "End of Survey" page?

Mehr
11 Monate 6 Tage her #169938 von ArriFerrari
COM_KUNENA_MESSAGE_CREATED_NEW
I am working in XAMPP to do a proof of concept.

Once a survey participant clicks "Submit", I want to run a python script and display the resulting HTML doc, if they actually finished the survey and didn't forget a mandatory question on the last page.

Which PHP file do I use to edit the final display page? See attached
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

LimeSurvey Partners
Mehr
11 Monate 6 Tage her #169947 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
LimeSurvey version?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
11 Monate 5 Tage her #169961 von ArriFerrari
COM_KUNENA_MESSAGE_REPLIED_NEW
The most recent, 3.11 version. Also I need to pass the current survey “seed” into my Python script.

I was thinking of using this method:


However, I’m not sure how to get the current survey seed (limited PHP knowledge)

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
11 Monate 5 Tage her - 11 Monate 5 Tage her #169963 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
In 3.x, the survey views are rendered by Twig files - in this case, submit.twig.

I doubt you can use Python in Twig files.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Last edit: 11 Monate 5 Tage her by tpartner.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
11 Monate 5 Tage her #169966 von ArriFerrari
COM_KUNENA_MESSAGE_REPLIED_NEW
Let’s assume I find a way. How do I reference the survey seed?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
11 Monate 5 Tage her #169968 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
Sorry, I can't help with that.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
11 Monate 5 Tage her - 11 Monate 5 Tage her #169988 von DenisChenu
COM_KUNENA_MESSAGE_REPLIED_NEW
See Demo plugin : github.com/LimeSurvey/LimeSurvey/blob/ma...nse/ShowResponse.php

Here you can do what you want (in PHP) for example curl a pythin script (or exec if able)

PS : and seed is
$response['seed']

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 11 Monate 5 Tage her by DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha