Welcome to the LimeSurvey Community Forum

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

Problem with Array by column filter

More
9 years 10 months ago #108241 by urbana
Replied by urbana on topic Problem with Array by column filter
of course you have to place the code between

<script type="text/javascript">

</script>
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 10 months ago #108249 by tpartner
Replied by tpartner on topic Problem with Array by column filter
The script in the question source should use ONLY the question IDs, NOT the question SGQAs.

Code:
<script type="text/javascript" charset="utf-8">
        $(document).ready(function() {
                filterArrByCol(10997, 11001);
        });
</script>


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Soeren
  • Soeren's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #108257 by Soeren
Replied by Soeren on topic Problem with Array by column filter
Sorry. I corrected it. But then I had this Error:





I tried it with different templates.
The topic has been locked.
  • Soeren
  • Soeren's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #108261 by Soeren
Replied by Soeren on topic Problem with Array by column filter
I updated the survey version to 2.05. But I still have the some problem.
I figured out that my Array filter only works in a test of a survey when I press the button "Exit and clear survey". That is strange because it worked perfectly before I placed the source code in the template.js. Maybe there is a connection to the problem above.
The topic has been locked.
  • Soeren
  • Soeren's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 10 months ago #108465 by Soeren
Replied by Soeren on topic Problem with Array by column filter
It is working at the online survey service. But on the my on server it is not working.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose