Welcome to the LimeSurvey Community Forum

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

fill ranking array with answers from previous question

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 11 months ago #59648 by tpartner
I'm afraid I don't understand the question. This link describes how to insert the script and then you change the values in the script for your IDs.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59654 by janwillem64
Tony,

I see it now.
Many thanks for the support.

Jan Willem
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59689 by janwillem64
Hello Tony,

I'm using LS 1.90.
I've enabled JS and successfully ran the test script (custom template).
I've cut and paste the workaround JS script in the custom template (at the beginning). Didn't modify anything.
I've followed the instructions an ran the survey for testing but:
- the multiple choice questions are not hidden
- the ranking filter doesn't work
I'm tried question by question and group by group.
If you like I can supply you a login.

Jan Willem
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 11 months ago #59738 by tpartner
Jan, can you give a link to a sample survey?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59748 by janwillem64
Hope this link willl work.I made the survey active.

survey.wwavdata.nl/limesurvey/index.php?sid=68179&lang=en

Problem quesion is:
groep2
v2a: 2.1 hidden multiple option question -> and the next.

Jan Willem
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 11 months ago #59771 by tpartner
Jan, that survey requires registration and I'm afraid I don't wish to leave an email address. Can you make it public?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59775 by janwillem64
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 11 months ago #59777 by tpartner
You need to use the question IDs, not the question codes:


So, in group 2, this line:
Code:
triggerCells(v2b, v2a, [1,2]);
Should be:
Code:
triggerCells(8, 182, [1,2]);

And, in group 3, this line:
Code:
rankFilter(v3a, v3b, 1);
Should be:
Code:
rankFilter(236, 264, 1);

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59782 by janwillem64
Thanks again! Will give it try.
The topic has been locked.
  • janwillem64
  • janwillem64's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 11 months ago #59798 by janwillem64
Perfect!!!! It works. Even when creating more groups and referring to the first. Hopefully last question:) The last group I've created is a multiple numeric (sum to 100). Used same method. The hidden question is hidden but the list is the complete list again. Can that to?
survey.wwavdata.nl/limesurvey/index.php?sid=68179&lang=nl
question 5.
If you have enough of my questions I understand:)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose