Sorry but I think it's a kind of many reposts, but it isn't even clear how to do it.
I have a list and with the answer I want the user have to answer a secondary question.
Like:
Choose a Country
Choose a city of that country
How I do that? In the documentation the examples are not related to that. I'm new in this, and we are facing this kind of problems to be sure to use this software.
There isn't such thing in the core? choose question B related to id of A.
I have to do this with javascript? where?
I have to use a plugin? which one?
Added to this, there isn't documentation for v4 as I know yet, and in v3 subquestions isn't present in v4, and the buton isn't what I'm searching for as I think.
You can create the country question, and then for each country another question showing the cities. You can use relevance equations on the questions with the cities of each country and show/hide them according to the answer given in the country question.
However, there are also examples on creating dropdowns with the country and then the second dropdown shows the cities of the chose country. This is similar to an example provided by Denis with the states and cities within the states for France or something. You'll need to do a little search.
It requires a little bit of Javascript, but nothing too surprising.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
I found in somewhere what you are talking about, but it seems in that time extremely hand made, but yes, I was thinking in some csv format to import the data, and then a little javascript in somewhere, this way it looks possible, and the way to do this.
I have to find the way to make the importation of the data and the and how to make and where to put the js.
Thanks for your reply!
Hi,
how many countries do you want to display?
How many cities do you want to display in total, how many per country (average).
There are a few a options:
The dual scale solution (Denis and Ifanfoni)
A autocomplete solution (either with an array or csv import)
two splitted dropdown questions (again either (searchable) dropdown or autocomplete) like
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless