Hello to everybody,
following the workaround
www.limesurvey.org/manual/Workarounds:_M...r_LimeSurvey_2.05.2B
and this post
www.limesurvey.org/forum/development/114...r-using-autocomplete
I am trying to develop some LimeSurvey 2.06 examples using JQuery and the autocomplete function with the latest release of LimeSurvey (3.6.1+).
In the detail, I have created a survey with two questions:
- in the first, Q1, the list of names (Test1, Test2 and Test3) for autocompletion is included in the javascript code in the source of the question
- in the second, Q2, I use a csv file with a list of names (a list of italian cities).
Unfortunately, the first works well, but the second not.
I suppose something has changed from Lime 2.06 to 3.6... or perhaps I have made some error, or both.
In my attempt I have:
- extended the theme (fruity saved as fruity_copia);
- downloaded jQuery-UI;
- uploaded jquery-ui.min.css to /upload/themes/survey/fruity_copia/scripts/
- uploaded jquery-ui.min.css to /upload/themes/survey/fruity_copia/css/
- registered the two files in config.xml
- uninstalled the theme
- installed again the theme
- cleared the asset cache
- uploaded a csv file (provcode.csv) in the /upload/themes/survey/fruity_copia folder (only for Q2)
This worked well for Q1, but not for Q2.
I know that with lime 2.06 I have to edit the file startpage.pstpl , but I don't know if this is the case also for the new release of the program (in the theme fruity_copia there is not a file with this name).
I attach:
- the lss file of the survey
- the csv file
I think it is an interesting application of LimeSurvey, so... any help and suggestions are well accepted!
Cheers,
ELo
P.S. tested with Firefox 59.0.2 on Limesurvey 3.6.1+ on a server with Ubuntu 16.04.4, Apache 2.4.18, PHP 7.1.15, and mysql 14.14