Welcome to the LimeSurvey Community Forum

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

Bug or my mistake?

  • urbana
  • urbana's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 9 months ago #170443 by urbana
Bug or my mistake? was created by urbana
Hi I want the current QID and current GID in my JS code so I add them via:
- var gid = {GID}
- var qid = {QID}

But as you can see in the screenshot of the source code of the loaded survey I get completely wrong codes back

The question id is 3659 but {QID} delivers me 3832

Bug or my mistake?
I use the current version of LS and the survey is in preview mode
The topic has been locked.
More
5 years 9 months ago #170448 by jelo
Replied by jelo on topic Bug or my mistake?
What version of LimeSurvey is used? I would attach a small survey with your code here. That way others could easily try to reproduce the issue on other installations.
Did you try your example on demo.limesurvey.org?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose