Multiple Choice With Searchable Select for LimeSurvey
A custom question theme that uses the Select2 component to insert a searchable select element to choose options of a LimeSurvey multiple-choice type question.
Implementation:
-
Extract the download and upload the Multiple-Choice-Dropdown folder to /pathToLimeSurvey/upload/themes/question/.
-
Create a multiple-choice question, click Save.
-
Set the question setting "Question theme" to "Multiple-Choice-Dropdown", click Save.
-
Create subquestions as required.
Notes:
-
The LimeSurvey multiple-choice type question creates a database column for every sub-question so care should be taken with the number of choice options.
-
A huge thanks to the folks at Select2 (https://select2.org/) for their great component.
-
The styles for the theme can be modified in /pathToLimeSurvey/upload/themes/question/Multiple-Choice-Dropdown/survey/questions/answer/multiplechoice/assets/css/mcd.css.
-
Demo survey in /Multiple-Choice-Dropdown/survey/questions/answer/multiplechoice/assets/demo/.
Custom themes are given without any warranty, implied or otherwise.