Bug or my mistake?

More
3 months 3 weeks ago #170443 by urbana
urbana created the topic: Bug or my mistake?
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
Attachments:

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #170448 by jelo
jelo replied the 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?

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!