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

More
12 years 5 months ago #88597 by lfortunato
...here is the second file attached

The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
12 years 5 months ago - 12 years 5 months ago #88604 by DenisChenu
Hello,

I made an error for the inclusion ,
Code:
<script type='text/javascript' src='{TEMPLATEURL}selectfilter.js'></script>
and not
Code:
<script type='text/javascript' src='{TEMPLATEURL}jqury-ui.js'></script>

Can i have a link for the survey ? It's impossible to see why it's not work without testing.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
Last edit: 12 years 5 months ago by DenisChenu.
The following user(s) said Thank You: lfortunato
The topic has been locked.
More
12 years 5 months ago #88647 by lfortunato
At last, it works! :) :) :)

I want to thank very much Denis for his helpfulness and kindness.
Now It works also with the category separator, and this is exactly what I needed to do!
Good job to all the Limesurvey team!!!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
12 years 5 months ago #88665 by DenisChenu

lfortunato wrote: At last, it works! :) .... It works also with the category separator,

Great news !

If you have some times to put this workaround on our documentation, it can be great :
docs.limesurvey.org/tiki-index.php?page=...ime+using+Javascript

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
12 years 5 months ago #88943 by Mazi

lfortunato wrote: At last, it works! :) :) :)

I want to thank very much Denis for his helpfulness and kindness.
Now It works also with the category separator, and this is exactly what I needed to do!
Good job to all the Limesurvey team!!!

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
The topic has been locked.
More
12 years 5 months ago #88961 by lfortunato
You are right, Mazi...
I have already said to my boss that a donation would be important for LS team and certainly for us, as users...

Many thanks to all you :)
The topic has been locked.
More
12 years 3 months ago #92203 by Gormack
Thank you for your nice solution above.
For those who wants to link more than 2 dropdown lists (list3 link to list2 link to list1) see below the small changes to apply into the code


$("#"+idSelectFilter).after(NewSelectElement);

to b replaced by

$("#"+idSelectFilter).before(NewSelectElement);

Thanks
The topic has been locked.
  • Gabriela
  • Gabriela's Avatar
  • New Member
  • New Member
More
11 years 10 months ago #97375 by Gabriela
HI,
Im trying to achieve this but I cant make it work.
3 droplists,

1. Droplist 1
2. Droplist 2
3. Droplist 3

Droplist 2 depends on droplist 1
Droplist 3 depends on droplist 2

How can I adapt the code and / or implementation to achieve this?
thanks a lot.
Gabi
The topic has been locked.
  • Gabriela
  • Gabriela's Avatar
  • New Member
  • New Member
More
11 years 10 months ago #97383 by Gabriela
And last question..

Im trying to retrieve the answer from the droplists, using INSERTANS , but its not possible as the select created with the java script has a different type of code (select3111)
is it possible to retrive the answer by other means?

thanks!!
The topic has been locked.
  • Gabriela
  • Gabriela's Avatar
  • New Member
  • New Member
More
11 years 10 months ago #98037 by Gabriela
Sorry to insist..I really need this :unsure:

1. Droplist 1
2. Droplist 2
3. Multiple option Question

Droplist 2 if filtered by Droplist2
Multiple options question (checkboxes) is filtered by Droplist2.

Its very necessary cause Multiple options question has 1240 subquestions, I cant show them all...I have to filter them with dropdown2..

Is it possible to adapt the selectFilter.js to multiple options aswell?

Thank you so much
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 10 months ago #98043 by holch
Hmmm, and with 1240 subquestions for a multiple options question (which creates one column per subquestion) you don't run into database limits?

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.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
11 years 10 months ago - 11 years 10 months ago #98044 by Mazi
How many items are there at DD list 1/2 and the multiple choice question?

Maybe using some hidden questions and a (cascading) array filter might also do the trick.

Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
Last edit: 11 years 10 months ago by Mazi.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose