Add Search feature for a multiple-choice question

More
2 months 2 weeks ago - 2 months 2 weeks 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: 2 months 2 weeks ago by develnick.

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 2 weeks ago #178904 by develnick
I tried to use that but it didn't work:

codepen.io/SitePoint/pen/RaOzrv

- Nick

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #178907 by surveySn
cpVille?Try it,

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #178910 by DenisChenu
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks 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

Please Log in or Create an account to join the conversation.

More
2 months 2 weeks ago #178919 by DenisChenu
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

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!