Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Create and submit a form on the endpage

Create and submit a form on the endpage 6 Monate 1 Tag her #112015

  • steve_81
  • steve_81s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Dank erhalten: 5
  • Karma: 0
Hello everyone,

i would like to insert a javascript form on the endpage, where the participant can insert his contact details to get the results of the studie later. It would not be a good idea to store these "answers" in the database because this would be a failure for the anonymity.

My procedure till now:
-JavaScript in the "end message" field:
... [creating the form] ...
... $.get("sendform.php") ... //to execute the programmed php file

- sendform.php:
mail(
"Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!",
"Test",
"Message"
) or die("Unable to send mail.")

If I call the sendform.php I get the die-message. Here I stuck.
May it be possible, that I have to include the smtp setting? How can I do this?

Other ideas are welcome.

Kind regards
Stefan
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Create and submit a form on the endpage 6 Monate 15 Stunden her #112050

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4561
  • Dank erhalten: 892
  • Karma: 400
I'm sorry, that's not a LimeSurvey issue.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Create and submit a form on the endpage 6 Monate 13 Stunden her #112051

  • c_schmitz
  • c_schmitzs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 851
  • Dank erhalten: 124
  • Karma: 95
Hi,

why don't you do a second one page survey at the end of the first by automatically loading the End URL?
Support us, too. Donate to the LimeSurvey project and help keep us going!
Letzte Änderung: 6 Monate 4 Stunden her von c_schmitz.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Create and submit a form on the endpage 6 Monate 19 Stunden her #112102

  • steve_81
  • steve_81s Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 25
  • Dank erhalten: 5
  • Karma: 0
That's a quite good idea and a workable solution for me. I missed the forest by the java-trees. Thanks.

Only the fact that the link of the second survey is known by the participant and can be spread to others. So someone can enter the "I would like to have the results of the study" even then he didn't participated.
But that's okay for this scenario.
Letzte Änderung: 6 Monate 19 Stunden her von steve_81.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.123 Sekunden
Donation Image