Check out the LimeSurvey source code on GitHub!

Diplay / hide an row in a table following conditions

More
5 years 1 month ago - 5 years 1 month ago #72062 by ulysse68
Hi all !

In this survey ( pfjappaco.limeask.com/index.php?sid=62323&newtest=Y&lang=en ), I see that the rows of questions 2 sq. are displayed following the answers to the first question. I guess that either INSERTANS, or the latest Expression Manager, are used. Or maybe regexp?

I tried to do the same thing (see image below), but I didn't succed. In fact, I don't know where to give the condition for displaying/hiding the rows.



Could somebody give me a hint? Is it in the second question, in the advanced properties? How should the syntax look like?

Thanks!
U.
Last Edit: 5 years 1 month ago by ulysse68.

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #72072 by TMSWhite
You could do it this way - instead of using multiple short text, use multiple choice with comment, like the attached question group (using LimeSurvey 1.92 RC2)

File Attachment:

File Name: limesurvey...p_31.lsg
File Size:17 KB


The logic file looks like this:




/Tom
Attachments:
Last Edit: 5 years 1 month ago by TMSWhite.

Please Log in to join the conversation.

More
5 years 1 month ago #72073 by TMSWhite
ulysse68-

Actually, you can already use multiple short text and array filter in LimeSurvey 1.92 RC2 - I just hadn't tested it that way before.

Here is a revised survey group:

File Attachment:

File Name: limesurvey...p_32.lsg
File Size:16 KB


and a screen shot:



/Tom
Attachments:

Please Log in to join the conversation.

More
5 years 1 month ago #72082 by ulysse68
Great! I missed this filter -- tried quite all other ones :(

Thanks a lot!
U.

Please Log in to join the conversation.

More
5 years 1 month ago #72112 by Mazi
Nice!

Tom, maybe you can add such useful examples to the wiki and also attach the question file?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #72137 by TMSWhite
Good idea, I added some examples to the wiki here .

Please Log in to join the conversation.

More
5 years 1 month ago #72143 by Mazi
Great work!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form