Welcome, Guest
Username: Password: Remember me

TOPIC: Diplay / hide an row in a table following conditions

Diplay / hide an row in a table following conditions 2 years 7 months ago #72062

  • ulysse68
  • ulysse68's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 37
  • Thank you received: 2
  • Karma: 0
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: 2 years 7 months ago by ulysse68.
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72072

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
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_group_31.lsg
File Size: 17 KB


The logic file looks like this:

logic-file.jpg



/Tom
Last Edit: 2 years 7 months ago by TMSWhite.
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72073

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
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_group_32.lsg
File Size: 16 KB


and a screen shot:

array_filter_with_multipe_short_text.jpg


/Tom
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72082

  • ulysse68
  • ulysse68's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 37
  • Thank you received: 2
  • Karma: 0
Great! I missed this filter -- tried quite all other ones :(

Thanks a lot!
U.
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72112

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72137

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
Good idea, I added some examples to the wiki here.
The administrator has disabled public write access.

Re: Diplay / hide an row in a table following conditions 2 years 7 months ago #72143

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 249
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)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.122 seconds
Donation Image