Welcome to the LimeSurvey Community Forum

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

Ajax call after one has finished survey?

  • shooby
  • shooby's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #109909 by shooby
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 topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 10 months ago - 9 years 10 months ago #109921 by tpartner
Replied by tpartner on topic Ajax call after one has finished survey?

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: 9 years 10 months ago by tpartner.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose