Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Ajax call after one has finished survey?

Ajax call after one has finished survey? 2 years 1 month ago #109909

  • shooby
  • shooby's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hi,

can I pass a variable to the survey like a user id? And then after the user has finished the survey call a ajax URL from within limesurvey with the ID so I can add a flag to my DB that I don't have to show that survey to that user again.

Thanks for your help!
The administrator has disabled public write access.

Ajax call after one has finished survey? 2 years 1 month ago #109921

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6122
  • Thank you received: 1357
  • Karma: 533
can I pass a variable to the survey like a user id?
manual.limesurvey.org/Workarounds:_Surve...ling_survey_elements


And then after the user has finished the survey call a ajax URL...
You can place your AJAX call in the source of the "End Message".


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 2 years 1 month ago by tpartner.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.271 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form