Welcome to the LimeSurvey Community Forum

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

hidden multi-choise prefill with EM

  • Liod_DS
  • Liod_DS's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 2 weeks ago #134438 by Liod_DS
hidden multi-choise prefill with EM was created by Liod_DS
Hi all,

i have a question (maybe already solved, but i can't find anything that answer exactly)

is possible to prefill an hidden multi question with the EM ? (i need it to filter the next question)

i'll explain the problem:

Q1 - Select your country; [single]
Q2 - Select your favorite shops [single]
[the list is VERY long and not all the shops are in all country, so i need to filter Q2]

my idea was: make a Qmask[multi-choice/hidden] with all the shops code -> check all the shops available (via EM)-> apply the filter ... i've used the js workournd to filter the Q2 and it works fine, but i'm sure the powerfull EM can do the trick ! (i use the EM to set some hidden single choice question, and i think is a better solution)

Thanks for the reply and sorry if repost...

Dave

keep improving
The topic has been locked.
More
8 years 2 weeks ago #134466 by jelo
Replied by jelo on topic hidden multi-choise prefill with EM
Which version of LS do you use?
You can use sub-question relevance to show/hide items in Q2 depending on answers of Q1.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • Liod_DS
  • Liod_DS's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 2 weeks ago #134470 by Liod_DS
Replied by Liod_DS on topic hidden multi-choise prefill with EM
Version 2.50+ Build 160412

i can't found sub-question relevance on the single-choice type (see the attachment) ... it's strange because i see it on other type question (grid and multi)

maybe it's a bug ?

keep improving
Attachments:
The topic has been locked.
More
8 years 2 weeks ago #134474 by jelo
Replied by jelo on topic hidden multi-choise prefill with EM
You're right. There seems to be no subreleveance in single choice question. I haven't found it in LS 2.06LTS and LS 2.5. Little surprise to me.

As a workaround think about using a multiple-choice question with a answerlimit of one.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 2 weeks ago #134478 by tpartner
Replied by tpartner on topic hidden multi-choise prefill with EM

You're right. There seems to be no subreleveance in single choice question. I haven't found it in LS 2.06LTS and LS 2.5. Little surprise to me.

Yeah, that's because those are answers, not sub-questions and therefor don't have their own columns in the database. I think answer relevance is in the works somewhere.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Liod_DS
  • Liod_DS's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 2 weeks ago - 8 years 2 weeks ago #134483 by Liod_DS
Replied by Liod_DS on topic hidden multi-choise prefill with EM
I hope some day the EM will be able to set the hidden multi ( I understand it can't now but that can solve a lot of masking problems), until that day i will use the JS (or the formatted multi) workaround!


Thanks all for the answers!

(Because the EM can't... right ???)

keep improving
Last edit: 8 years 2 weeks ago by Liod_DS.
The topic has been locked.
More
8 years 2 weeks ago - 8 years 2 weeks ago #134530 by first
Replied by first on topic hidden multi-choise prefill with EM
We can always set hidden muti question . Create a equation type question before hidden multi and place below code in its question source. You can then hide both multi and equation question and punching will work just fine. Yes , It solves many masking problems.

eg:
Code:
{hideQ2_1 = if(Q1_1.NAOK == "Y","Y","")}

Terms "hidden multi" , "set" , "masking" sounds familiar to me I am sure you are Confirmit programmer as well. I am also confirmit programmer and use these terminologies :)

Survey Designer and Programmer
Last edit: 8 years 2 weeks ago by first.
The topic has been locked.
  • Liod_DS
  • Liod_DS's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
8 years 2 weeks ago #134551 by Liod_DS
Replied by Liod_DS on topic hidden multi-choise prefill with EM
Yeah! You've guessed it! Working primarily in Confirmit, now I'm pushing to move some interviews on limesurvey and I have to figure it out all by myself!

So far i've made it with some very simple Interview, but i need advanced masking(filtering) quotas and loops :dry:

Thanks for the very usefull tips, have a nice day!

keep improving
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose