- Posts: 13643
- Thank you received: 2491
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Dropdownlist as a subquestion depending on first dropdown question
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
10 years 9 months ago #98076
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Dropdownlist as a subquestion depending on first dropdown question
Hello,
With selectjs : i don't tal af a multi text bur a long text.
The city is savec in DB like that:
city1,city2,city2
Denis
With selectjs : i don't tal af a multi text bur a long text.
The city is savec in DB like that:
city1,city2,city2
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- dweisser
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 4
10 years 5 months ago #101289
by dweisser
Replied by dweisser on topic Dropdownlist as a subquestion depending on first dropdown question
This solution is fantastic. Cascading selection FTW!
One question, when I put the function in the template.js, the cascading between drop-downs no longer works. Both parts of the script seem to have to be in the source of the questiontext of the second, or dependent, question.
I was only wondering why this is the case. Seems to me you should be able to put the first part into the template.js.
Thank you again for a really great piece of work!
David
One question, when I put the function in the template.js, the cascading between drop-downs no longer works. Both parts of the script seem to have to be in the source of the questiontext of the second, or dependent, question.
I was only wondering why this is the case. Seems to me you should be able to put the first part into the template.js.
Thank you again for a really great piece of work!
David
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
10 years 5 months ago #101337
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Dropdownlist as a subquestion depending on first dropdown question
Hi,
Think we can copy/paste all js file on template.js, but maybe lost something. And the scrpt was made for 1.92, not updated actually for 2.00.
Do you have a link to test ?
Denis
Think we can copy/paste all js file on template.js, but maybe lost something. And the scrpt was made for 1.92, not updated actually for 2.00.
Do you have a link to test ?
Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- dweisser
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 4
10 years 5 months ago #101625
by dweisser
Replied by dweisser on topic Dropdownlist as a subquestion depending on first dropdown question
I think the template.js issue was taken care of by a recent update.
But, on a related question. I'm trying to accomplish something like one of the earlier posters:
List 3 is dependent on List 2 and List 2 is Dependent on List 1.
List 1 to List 2 works just fine. But List 2 to List 3 doesn't work at all. No answers show.
It seems to me that all it it should require is to repeat the process for each dependent question, but alas...
Here is a test link: www.springboltconsulting.com/survey/index.php
Any insight you can can provide would be most appreciated - as always.
Nebraska David
But, on a related question. I'm trying to accomplish something like one of the earlier posters:
List 3 is dependent on List 2 and List 2 is Dependent on List 1.
List 1 to List 2 works just fine. But List 2 to List 3 doesn't work at all. No answers show.
It seems to me that all it it should require is to repeat the process for each dependent question, but alas...
Here is a test link: www.springboltconsulting.com/survey/index.php
Any insight you can can provide would be most appreciated - as always.
Nebraska David
The topic has been locked.
- hmd_bakhshi
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
5 years 3 months ago #179069
by hmd_bakhshi
Replied by hmd_bakhshi on topic Dropdownlist as a subquestion depending on first dropdown question
I have the same problem. i.e. I want to have 3 dropdown list for countries, states and cities. and I want to these dropdown list filtered by the before dropdown. for example, when user select country x then only the states of that country shown in the state dropdown list.
is there any other solution to condition one answer option list by another?
is there any other solution to condition one answer option list by another?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
5 years 3 months ago #179073
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Dropdownlist as a subquestion depending on first dropdown question
Please : don't up a question that are 5 years old …
gitlab.com/SondagesPro/QuestionSettingsType/autoComplete is done for such situation.
gitlab.com/SondagesPro/QuestionSettingsType/autoComplete is done for such situation.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- hmd_bakhshi
- Offline
- Junior Member
Less
More
- Posts: 36
- Thank you received: 0
5 years 3 months ago #179080
by hmd_bakhshi
Replied by hmd_bakhshi on topic Dropdownlist as a subquestion depending on first dropdown question
do you mean I create a new topic for that problem?
The topic has been locked.