Welcome, Guest
Username: Password: Remember me

TOPIC: Conditional branching; rapid prototyping

Conditional branching; rapid prototyping 4 months 9 hours ago #111185

  • dglp
  • dglp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Hi all,

Just trying to get my head round some aspects of survey design.
I have two questions - one about conditional branching, and the other about ways of rapid prototyping.

My branching question is based on having a series of questions whose response goes mainly to two separate follow-on pages.

I've got a list of 18 topics that have two or more options - where two of the options in every question go to either a description form or a subscription form.

I reckon the efficient thing is to use conditional logic to skip intervening questions, but am having a Dickens of a time getting it to work!
My impression is that the Expression Manager only allows the ANDing of separate questions - which doesn't suit!
So I am looking for tips as to the best approach.
Prototype.jpg


My second question is about how to create test versions without having to go through the GUI. I'd be really happy if I could rough out a survey in spreadsheet format then upload it.

I have half a mind to take an LSS file and use copy & paste of chunks to build additional sections.
I haven't tried it yet, and am just wondering if there are fundamental obstacles to doing prototyping that way. And if so, are there other techniques that do work? :woohoo:
Last Edit: 4 months 9 hours ago by dglp. Reason: typo
The administrator has disabled public write access.

Conditional branching; rapid prototyping 3 months 4 weeks ago #111189

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4369
  • Thank you received: 829
  • Karma: 381
My impression is that the Expression Manager only allows the ANDing of separate questions
Why do you say that? You can definitely use OR statements in relevance equations.

My second question is about how to create test versions without having to go through the GUI.
Have a look at "Excel Survey Structure" (not sure how well that has been maintained) - manual.limesurvey.org/Excel_Survey_Structure


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 months 4 weeks ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: dglp

Conditional branching; rapid prototyping 3 months 4 weeks ago #111190

  • dglp
  • dglp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Thank you Tony,

I will be able answer your question about conditional branching in a bit more detail later when I've got more time.
For now, I'm answering the question with a question, as shown here.


20140727_124345.jpg


While the description of complex conditions in the manual seems to say that it's possible to OR certain kinds of questions, it also says that certain other conditions can only be ANDed.

So I either need to find out how to set up questions in a way that allows me to OR each subquestion in a multiple choice question with EVERY other similar subquestion in every other question.

As a Boolean kind of phrase, I'm looking for D = (T1.Q1.SQ1 OR T1.Q2.SQ1 OR T1.Q3.SQ1 OR ... T1.Q99.SQ1) where Tn is a Group, Qn is a question and SQn is a particular subquestion that repeats from one question to the next within the group. D is a longtext form.

So I want to skip immediately to D if I select Option 1 in ANY of the n Questions in Group 1.
At present, sometimes it just carries on to the next Question.
The administrator has disabled public write access.

Conditional branching; rapid prototyping 3 months 4 weeks ago #111191

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4369
  • Thank you received: 829
  • Karma: 381
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: dglp

Conditional branching; rapid prototyping 3 months 4 weeks ago #111199

  • dglp
  • dglp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Eek!
I thought Expression Manager and conditions Designer were two names for the same thing.
Have been reading about one and trying to work with the other.

Time to do a bunch more reading then...
The administrator has disabled public write access.

Conditional branching; rapid prototyping 3 months 4 weeks ago #111200

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 824
  • Thank you received: 116
  • Karma: 93
To make it an 'OR' use a scenario.
Support us, too. Donate to the LimeSurvey project and help keep us going!
The administrator has disabled public write access.
The following user(s) said Thank You: dglp

Conditional branching; rapid prototyping 3 months 4 weeks ago #111239

  • dglp
  • dglp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
I need an emoticon for 'exploding brain'. :pinch:

Not used to working with variables, nor with the EM syntax.

But, starting with syntax, is there a key somewhere that explains &&, == and so on?
So I can figure out the meaning of statements like cohabs>1 && p1_rel != "".
The administrator has disabled public write access.

Conditional branching; rapid prototyping 3 months 4 weeks ago #111256

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4369
  • Thank you received: 829
  • Karma: 381
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: dglp

Conditional branching; rapid prototyping 3 months 4 weeks ago #111278

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
The administrator has disabled public write access.
The following user(s) said Thank You: dglp

Conditional branching; rapid prototyping 3 months 3 weeks ago #111298

  • dglp
  • dglp's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Very good!

With all there is to absorb re Expression Manager, I reckon I'll be lucky to come back with any followup questions in less than a month...
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.131 seconds
Donation Image