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

Mehr
3 Jahre 9 Monate her #97147 von xsiyez
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 der Konversation beizutretten.

Mehr
3 Jahre 9 Monate her - 3 Jahre 9 Monate her #97160 von tpartner
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: 3 Jahre 9 Monate her von tpartner.

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 9 Monate her #97167 von xsiyez
Thanks a lot Tony!
It has worked. And thanks for the other hints you included in the js file!

Alex

Bitte Anmelden um der Konversation beizutretten.