Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.3.27
Own server or LimeSurvey hosting: Own
Survey theme/template:
==================
Hello,
I'm trying to get a simplified version of
Ajax autocomplete data from a database for multiple short text questions filters
. In that linked topic, there's quite an extensive dataset where the answer in one row determines the next. I just have a straightforward list (json) with app names, and each of the fields can contain the same suggestions.
I have the following question code:
Code:
What apps or services do you use to listen to podcasts?
<!-- JS file -->
<script src="https://antennapod.org/assets/js/jquery.easy-autocomplete.min.js"></script>
<!-- CSS file -->
<link href="https://antennapod.org/assets/css/easy-autocomplete.min.css" rel="stylesheet" />
<script type="text/javascript">
var options = {
url: "https://antennapod.org/assets/datasets/PodcastApps.json"
};
var thisQuestion = $('#question{QID}');
var input = $('.answer-item input:text.form-control', thisQuestion);
input.easyAutocomplete(options);
</script>
Unfortunately, it doesn't work. I'm thinking that there's something wrong with the javascript that might be obvious to an expert. Any hints would be most welcome
Please find attached also the survey with this question.