Bug or my mistake?

More
1 month 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
1 month 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?
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!