Welcome to the LimeSurvey Community Forum

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

End Message - getting SAVEDID

  • arunicbe
  • arunicbe's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 11 months ago #155066 by arunicbe
End Message - getting SAVEDID was created by arunicbe
In the end message, I have a javascript to send the survey responses to an external application.

I need to send the saved id of the response to the application.

If I include {SAVEDID} in the javascript, it is not returning the ID. I am able to get the values from the questions.

How do I get this working?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 11 months ago #155164 by tpartner
Replied by tpartner on topic End Message - getting SAVEDID
At some point in the survey, place {SAVEDID} in a hidden equation question and then reference that question in your JavaScript.

Remember though, that {SAVEDID} is only available after at least one question/group has been submitted.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose