Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Dropdown answers based on previous answers

More
7 years 3 weeks ago - 7 years 3 weeks ago #151344 by jelo
First thing that pops to my eye are the script tags. In the group description most of the script is placed after </script>. That's not correct.



You seem to have modified the function itself and replaced all occurrences of qID and filterqID in the function itself. The purpose of a function is to just save that kind of work.

var qID : the number of question to filter
var filterqID : the number of question filtering

Usually you leave the function sourcecode untouched and just execute the function itself with values instead of the variables.

selectFilter_selectFilterByCode(here the real qID as a value or a ExpressionManager variable, Here the real filterqID as a value);

I haven't read the whole code. So take it with a grain of salt.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 7 years 3 weeks ago by jelo.
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose