Autocomplete a question from csv and fill two more question from same CSV

Mehr
4 Jahre 5 Monate her #97147 von xsiyez
xsiyez antwortete auf das Thema: Autocomplete a question from csv and fill two more question from same CSV
Please find attached the test survey with other relevant files attached. Kindly change the csv url in the javascript attached to question 1_0 source.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 5 Monate her - 4 Jahre 5 Monate her #97160 von tpartner
tpartner antwortete auf das Thema: Autocomplete a question from csv and fill two more question from same CSV
Ah, I get it now.

You are using a new version of jquery.csv.js, so this:
fullArray = jQuery.csv()(data);
Needs to be changed to this:
fullArray = $.csv.toArrays(data);


Here is an updated version of your survey with the following changes:
- The script is now in the source of 1_2
- Added a snippet to automatically detect the questions and their text inputs (questions must be sequential)
- The script automatically looks for the CSV file in the template directory

Anhang limesurvey_survey_6928591.lss nicht gefunden


And here is a template with your CSV file and jquery.csv.js in it.

Anhang test_csv.zip nicht gefunden


Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Anhang:
Letzte Änderung: 4 Jahre 5 Monate her von tpartner.

Bitte Anmelden um an der Konversation teilzunehmen.

Mehr
4 Jahre 5 Monate her #97167 von xsiyez
xsiyez antwortete auf das Thema: Autocomplete a question from csv and fill two more question from same CSV
Thanks a lot Tony!
It has worked. And thanks for the other hints you included in the js file!

Alex

Bitte Anmelden 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