Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Problem with Array by column filter

Problem with Array by column filter 7 months 1 week ago #108239

  • urbana
  • urbana's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
Yes you have Version 2.0 but that isn't the problem.
Of course you have to place the script in HTML Mode

So click in the helptext and then click on Quellcode (Sourcecode)
And then paste it there
The administrator has disabled public write access.

Problem with Array by column filter 7 months 1 week ago #108240

  • Soerioes
  • Soerioes's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
That is what I did. Do I have to put a tag before the code?
The administrator has disabled public write access.

Problem with Array by column filter 7 months 1 week ago #108241

  • urbana
  • urbana's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
of course you have to place the code between

<script type="text/javascript">

</script>
The administrator has disabled public write access.

Problem with Array by column filter 7 months 1 week ago #108249

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4410
  • Thank you received: 842
  • Karma: 385
The script in the question source should use ONLY the question IDs, NOT the question SGQAs.

<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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Problem with Array by column filter 7 months 1 week ago #108257

  • Soerioes
  • Soerioes's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
Sorry. I corrected it. But then I had this Error:

immernoch.jpg


immernoch1.jpg


I tried it with different templates.
The administrator has disabled public write access.

Problem with Array by column filter 7 months 1 week ago #108261

  • Soerioes
  • Soerioes's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
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 administrator has disabled public write access.

Problem with Array by column filter 7 months 5 days ago #108465

  • Soerioes
  • Soerioes's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 12
  • Karma: 0
It is working at the online survey service. But on the my on server it is not working.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.143 seconds
Donation Image