search box in dropdown

Mehr
3 Wochen 6 Tage her #173195 von tpervaiz
tpervaiz erstellte das Thema search box in dropdown
Is it possible to add search box as in survey which i have created has a dropdown list of 2000 records so it will be really hard for user to select the required record

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #173199 von tpartner
tpartner antwortete auf das Thema: search box in dropdown
You could use the jQuery Autocomplete workaround - manual.limesurvey.org/Workarounds:_Manip...r_LimeSurvey_2.05.2B

Note that in LS 3.x, you will need to create a custom survey (or question) theme that includes jQuery UI - www.limesurvey.org/forum/development/114...-autocomplete#165287

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #173205 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
Thanks for reply but I just need help to register the files in config.xml as I am new to this

jQuery-UI (which includes the autocomplete widget) is not included in the core themes for 3.4.x. You need to add it to a custom theme.

1) Extend a core theme as described here - manual.limesurvey.org/New_Template_System_in_LS3.x .

2) Download jQuery-UI - jqueryui.com/download/ . Extract the files.

3) Upload the extracted jquery-ui.min.js to /upload/themes/survey/yourThemeName/scripts/.

4) Upload the extracted jquery-ui.min.css to /upload/themes/survey/yourThemeName/css/.

5) Register the new files by including them in the <files> block of /upload/themes/survey/yourThemeName/config.xml something like this:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her - 3 Wochen 6 Tage her #173207 von DenisChenu
DenisChenu antwortete auf das Thema: search box in dropdown
We have already an good jquery-ui alternative for autocomplete : github.com/LimeSurvey/LimeSurvey/blob/49...third_party.php#L412

Usage : github.com/LimeSurvey/LimeSurvey/blob/49.../scripts/map.js#L229

I already have some autocomplete plugin but not public currently.

EDIT :
gitlab.com/SondagesPro/autoComplete

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 .
Letzte Änderung: 3 Wochen 6 Tage her von DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her #173208 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
How can I use the alternative..Can you provide me the steps to use above

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 6 Tage her - 3 Wochen 6 Tage her #173212 von DenisChenu
DenisChenu antwortete auf das Thema: search box in dropdown
1: download the plugin gitlab.com/SondagesPro/autoComplete
2: install and activate the plugin : extensions.sondages.pro/about/install-an...-for-limesurvey.html
3: import included survey gitlab.com/SondagesPro/autoComplete/tree/master/Demo
4: in this survey ressource import included csv file
5: check the question settings (in the Demo survey) to understand gitlab.com/SondagesPro/autoComplete/blob...utoComplete.php#L209

Remind : plugin must work on 3.14 version but was roughly tested with 2.73 version

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 .
Letzte Änderung: 3 Wochen 6 Tage her von DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 5 Tage her #173244 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
I have activated a plugin however when I am trying to import the Demo survey getting an error as shown in the attachment
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 5 Tage her #173252 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
Now I have registered jquery in my system. I just need help to upload csv file to upload through resources as I have confused that which format the system will accept as its giving me error all the time I try to upload the csv file.

I have attached the survey structure and the csv file which i am uploading. Can someone check what I am missing

The code applied in question is:

<script type="text/javascript" charset="utf-8">

$(document).ready(function() {

var q1ID = q1;

$('#question'+q1ID+' input[type="text"]').autocomplete({
minLength: 8, // This line is optional, signifies number of keystrokes before autocomplete is initiated
source: ["Test1"]
});

});

</script>
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 5 Tage her - 3 Wochen 5 Tage her #173266 von DenisChenu
DenisChenu antwortete auf das Thema: search box in dropdown

tpervaiz schrieb: I have activated a plugin however when I am trying to import the Demo survey getting an error as shown in the attachment

No issue for me : master.sondages.pro/794683?newtest=Y&lang=fr

What is your LimeSurvey version ? Can you check you have same lss file then the one here gitlab.com/SondagesPro/autoComplete/raw/...rvey_survey_Demo.lss

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 .
Letzte Änderung: 3 Wochen 5 Tage her von DenisChenu.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 4 Tage her #173313 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
Font know why csv files are not uploading in survey resources...is there any particular format?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 4 Tage her #173316 von DenisChenu
DenisChenu antwortete auf das Thema: search box in dropdown

tpervaiz schrieb: Font know why csv files are not uploading in survey resources...is there any particular format?

Maybe someone diable csv upload in your config.php

It's available by default : github.com/LimeSurvey/LimeSurvey/blob/c2...fig-defaults.php#L89

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 .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 4 Tage her #173318 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
I just checked the permissions and its ok... however when ever I am uploading the file the error in attachment I receive
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 4 Tage her #173319 von DenisChenu
DenisChenu antwortete auf das Thema: search box in dropdown
Not ressource, as file.

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 .

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 1 Tag her #173384 von tpervaiz
tpervaiz antwortete auf das Thema: search box in dropdown
Thanks for your help as I am able to upload the plugin by pasting the file in path directly e.g upload\surveys\surveyid\files

now when ever I am using the plugin along with conditions. All conditions in the survey don't work. Is there any step which I am missing?

Attached is the ISS file of the survey along with csv which I am using for auto complete
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha