Welcome to the LimeSurvey Community Forum

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

Copy conditions missing

  • marco4960
  • marco4960's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #222430 by marco4960
Copy conditions missing was created by marco4960
Hi there,

I am trying to copy conditions from one question to some others. 
The problem is that there is no button for "copy conditions", so I have to set the condition for each question manually. 
Is this a problem with the LimeSurvey version (4.2.8+200608), or are there some settings to enable or disable this button?

I appreciate your support!
Last edit: 2 years 4 months ago by marco4960.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #222435 by Joffm
Replied by Joffm on topic Copy conditions missing
Hi,
there is no such button.

But you shouldn't use "condition builder" anymore.
"ExpressionScript" is more flexible, mightier and easier to handle.
And you can use all implemented functions.

[url] manual.limesurvey.org/ExpressionScript_-...ons_and_Relevance.3F [/url]
Just the first "con" of "condition builder":
Try to generate a condition like
(Q1==1 OR (Q1==3 AND Q2=="AAA")) AND ((Q4_SQ001==1 OR Q4_SQ003==3) and Q4_SQ004!=6)

Furthermore you only have to copy/paste your "condition", now called "relevance equation".

By the way

so I have to set the condition for each question manually

If you structure your survey well, you may set this condition on group level instead on question level (of course with ExpressionScript)


And in your screenshot I do not understand what you are trying to do.
There is twice the same condition
G01Q01_SQ01_SQ01==3

If you are trying to display G01Q02 only if ALL subquestions of G01Q01 fulfill this condition (empty or equal 3) you really can do this easier.
Just count the cells that contain "3" by something like countif("3",that.G01Q01.sq_X01)
And the empty cells by something like countif("",that.G01Q01.sq_X01)
Then you can decide.
You see, here I coded the y-axis with "Y01", "Y02,... and the x-axis with "X01", "X02". This important or helpful if you use "self" or "that".
Read the manual about this
[url] manual.limesurvey.org/ExpressionScript_-....22that.22_variables [/url]

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: marco4960
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #222448 by holch
Replied by holch on topic Copy conditions missing
First of all: Listen to Joffm.

LimeSurvey version (4.2.8+200608)


Second: Despite this not being a problem of LS 4.2.8+200608, this version is basically 1,5 years old now, you should consider an update to the latest LS 5 (LS4 basically was renamed to LS5). There have been a lot of bug and security fixes within the last 1,5 years.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu, marco4960
The topic has been locked.
  • marco4960
  • marco4960's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 3 months ago #222837 by marco4960
Replied by marco4960 on topic Copy conditions missing
First of all - thank you, Joffm and holch, and sorry for the late response!
I appreciate your support.

About the conditions:
We will consider using ExpressionScript instead of condition builder.
Despite that, I am still a bit confused about the "copy conditions" button.
I just signed up for the trial version of the limesurvey cloud service (5.2.5), and there is also such a button (see attached screenshot).
This makes me wonder  - is there a setting to enable/disable this button?

About the sample survey:
Sorry for the confusion. The conditions and questions on the previous screenshots are nonsense - I just wanted to demonstrate that the button is missing.

About the limesurvey version:
Thank you for the recommendation; I agree that we need to update to LS5.

Marco
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 3 months ago #222845 by Joffm
Replied by Joffm on topic Copy conditions missing
Hi,
After I added a condition
 

Clicking "Copy conditions" in the top menue" I get a new window where I can select several questions.
 

And a click on "Copy conditions" here copies the condition to all of them.

Well, I tested in 5.1.13.
So, maybe there is an issure in your version.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose