Welcome to the LimeSurvey Community Forum

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

Add Search feature for a multiple-choice question

  • develnick
  • develnick's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago - 5 years 3 months ago #178903 by develnick
Hello! In my survey I have a long multiple-choice question, for which i'd need a features that enable to search inside it, in order to find rapidly my choice. How to do so?

Let me show you an example

Question x: What documents do you have?
  • x_01: Document 1
  • x_02: Document 2
  • x_03: Document 3
  • ...
  • x_99: Document 99

It would be great if I can add a simple "search" button such that it can search trough this list.
This is the desired implementation: www.w3schools.com/howto/howto_js_filter_lists.asp

Another option would be simulate the CTRL+F behavior...

- Nick
Last edit: 5 years 3 months ago by develnick.
The topic has been locked.
  • develnick
  • develnick's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago #178904 by develnick
I tried to use that but it didn't work:

codepen.io/SitePoint/pen/RaOzrv

- Nick
The topic has been locked.
More
5 years 3 months ago #178907 by surveySn
cpVille?Try it,
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #178910 by DenisChenu
Replied by DenisChenu on topic Add Search feature for a multiple-choice question
I create this JS :https://gitlab.com/sondagespro-ingeus/filterBigListSurvey/blob/master/assets/filterbiglist_survey.js
With a 2.05 version. Can surely be updated and improved for 3.X

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • develnick
  • develnick's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 3 months ago #178918 by develnick
Hi Denis, thanks again for your support! I saw your git and I sent a request to view it, because it is private.
Thanks!

- Nick
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #178919 by DenisChenu
Replied by DenisChenu on topic Add Search feature for a multiple-choice question
Arg … need to mpove this to a public repo, come back in some minutes …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
4 years 7 months ago #188459 by asilbering
Replied by asilbering on topic Add Search feature for a multiple-choice question
Hi Denis,
I am quite new to LimeSurvey (and a total gitlab ignorant). I was trying to access the script you mentioned in the post above, but I couldn't find it. Is it still available?

Thanks a lot in advance.
Ana
I am using LimeSurvey Version 2.05+ Build 150520.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 7 months ago #188462 by DenisChenu
Replied by DenisChenu on topic Add Search feature for a multiple-choice question

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
4 years 7 months ago #188469 by asilbering
Replied by asilbering on topic Add Search feature for a multiple-choice question
Thanks Denis!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose