- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Expression Manager in the latest version of LimeSurvey
- amolinue
- Topic Author
- Offline
- New Member
Less
More
7 years 5 months ago #143695
by amolinue
Expression Manager in the latest version of LimeSurvey was created by amolinue
Hi all!
I am new on LimeSurvey. I am trying to create a new survey but i am not able to create conditions. I have been searching in documentation and i i have seen a tool called "Expression manager" on this link manual.limesurvey.org/Expression_Manager . I recently installed the lastest version of limesurvey and it is totally different to the screenshot of the tutorial. Can anyone explain me how to create a condition in the latest version of limesurvey?
Thank in advance!
I am new on LimeSurvey. I am trying to create a new survey but i am not able to create conditions. I have been searching in documentation and i i have seen a tool called "Expression manager" on this link manual.limesurvey.org/Expression_Manager . I recently installed the lastest version of limesurvey and it is totally different to the screenshot of the tutorial. Can anyone explain me how to create a condition in the latest version of limesurvey?
Thank in advance!
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
7 years 5 months ago #143698
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Expression Manager in the latest version of LimeSurvey
The latest version of LimeSurvey has an administrative UI that is a little, let's say confusing...
Conditions for your question can be placed in the box "Relevance equation" in the question edit screen.
Also sub-questions of several questions can have a relevance, that is: they can be shown/not shown depending of answers to previous questions or depending on token values.
For example: q1 is a Yes/no question and you only want to show q2 if q1 has been answered Yes:
Relevance equation for q2 is: q1=="Y"
There is a lot to learn here, also for me...
Conditions for your question can be placed in the box "Relevance equation" in the question edit screen.
Also sub-questions of several questions can have a relevance, that is: they can be shown/not shown depending of answers to previous questions or depending on token values.
For example: q1 is a Yes/no question and you only want to show q2 if q1 has been answered Yes:
Relevance equation for q2 is: q1=="Y"
There is a lot to learn here, also for me...
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
7 years 5 months ago #143699
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Expression Manager in the latest version of LimeSurvey
I know that the LS develoment team is working on the administrative UI, so things will get better in time...
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- amolinue
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
7 years 5 months ago #143700
by amolinue
Replied by amolinue on topic Expression Manager in the latest version of LimeSurvey
Thanks Tammo. Do you know a sort of expression for conditions? I have seen is_empty(), OR, AND... Do you know more of them?
Thanks in advance!
Thanks in advance!
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 966
- Thank you received: 219
7 years 5 months ago #143701
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Expression Manager in the latest version of LimeSurvey
There is for many hours of enjoyment (...) in:
manual.limesurvey.org/Expression_Manager
It cost me several hours/days/weeks to learn this. It is worth it!
Tammo
It cost me several hours/days/weeks to learn this. It is worth it!
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11645
- Thank you received: 2739
7 years 5 months ago - 7 years 5 months ago #143725
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Expression Manager in the latest version of LimeSurvey
However, despite Expression Manager being a lot more flexible (and also quicker if you know your way around), the normal conditions should still work. When you are in the survey you want to set conditions for, you need to click the button "set conditions".
But it is well worth to spend some time on the Expression Manager, because it gives you soo much flexibility and possibilities that you don't have with conditions, that it is definitely worth it to spend some time to get your head around it.
But it is well worth to spend some time on the Expression Manager, because it gives you soo much flexibility and possibilities that you don't have with conditions, that it is definitely worth it to spend some time to get your head around it.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Attachments:
Last edit: 7 years 5 months ago by holch.
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1128
- Thank you received: 329
7 years 5 months ago #143739
by Ben_V
1) Additionally, a big difference is that the built-in conditions engine creates a strong dependency between questions. for example it could be hard or simply not allowed to move or delete a question if there is an associated condition... You have to first edit/delete the related condition(s). With EM it's much more easier.
2) An option for beginners is to use LS standard conditions builder to generate the related expression; then copy this expression (look at the relevance field), delete the condition, and reuse/paste this expression as a valid expression.
This is some extra work but also a secure way to get well formatted EM code
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Expression Manager in the latest version of LimeSurvey
holch wrote: However, despite Expression Manager being a lot more flexible (and also quicker if you know your way around), the normal conditions should still work
1) Additionally, a big difference is that the built-in conditions engine creates a strong dependency between questions. for example it could be hard or simply not allowed to move or delete a question if there is an associated condition... You have to first edit/delete the related condition(s). With EM it's much more easier.
2) An option for beginners is to use LS standard conditions builder to generate the related expression; then copy this expression (look at the relevance field), delete the condition, and reuse/paste this expression as a valid expression.
This is some extra work but also a secure way to get well formatted EM code
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.