Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to run a php script from a survey

  • Sterlingman
  • Sterlingman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 months ago #161705 by Sterlingman
How to run a php script from a survey was created by Sterlingman
Hello,
I would like to run a php script once a survey is completed.
I have found this post : www.limesurvey.org/forum/can-i-do-this-w...mpletion-of-a-survey dealing with this subject.
2 solutions seem to be possible (or were possible) :
Add a call to the php script directly in the question
Use the afterSurveyComplete event

The first solution is easy but it does not work with my 2.6. I have tried absolute path as suggested but it still does not work.
The second solution seems to be more complicated for what I want to do.

Is there anybody who has been able to make the first solution work ?
Is there any simple tutorial using the afterSurveyComplete event ?


Thanks for your help.
The topic has been locked.
  • LouisGac
  • LouisGac's Avatar
  • Visitor
  • Visitor
6 years 4 months ago #161717 by LouisGac
Replied by LouisGac on topic How to run a php script from a survey
you can use the end url with automatic redirection
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose