View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05503Bug reportspublic2012-08-14 22:57
Reporterlemeur Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionduplicate 
Product Version2.00a1 
Summary05503: Discussing the future conditions GUI for EM
Description

EM is a wonderfull way to build complex boolean expressions with almost no limitation. Though powerfull and flexible as it may be, it might be difficult to use for some of our users who don't really understant boolean logic expressions (especially when it comes to combining AND, OR and parentheses).

In the old limesurvey version, the notion of Scenario (though implemented in an awful way), was a step towards simplifying conditions by using a word having a straight meaning.

In the current work done by TMSWhite (EM + the Equation question type), everything is ready to take advantage of both a very powerfull and flexible EM expression editor, and a more UserFriendly GUI using "Scenarios".

Example of Scenario an Scenario usage:

  • Q1: Gender ?
  • Q2: Age ?
  • Q3: Marital status ?
  • Q4: Live in Town or Countryside ?
  • Scenario1 (implemented as an Equation question): Married Female
  • Scenario2 (implemented as an Equation question): Single Male of more than 25 years old
  • Scenatio3 (implemented as an Equation question): Single living in Countryside
  • Q5: only shown if Scenario1
  • Q6 only shown if Scenario2 AND Scenario3

Now if we need, to quiclky edit the survey so that Scenario2 is updated to " Single Male of more than 35 years old", it is as easy as to update the Equation quesiton storing the Scenario2 expression (no need to copy/paste, or edit other questions' relevance).

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)12312
I will donate to the project if issue is resolvedNo
Browser
Database type & versionna
Server OS (if known)na
Webserver software & version (if known)na
PHP Versionna
Git branch / Pull Request URL

Relationships

duplicate of 05279 closed Add a GUI for ExpressionManager 

Users monitoring this issue

There are no users monitoring this issue.

Activities

lemeur

lemeur

2011-10-11 23:27

reporter   ~16394

Last edited: 2011-10-11 23:30

So in fact the hard part is already implemented: EM expressions and the Equation question type.

What do we need to complete a simple GUI ? Let me try to answer:

  • First we'll store Scenario in Equation questions, but the GUI needs a way to display all previously defined Scenario. Of course they will be shown as previous questions, but we may want to highlight the fact that they are Scenarios. For instance we coudl add a "Tag" in each Equation which would set its subtype to Scenario, Quota, Assessment, ... This way each specific GUI (Condition, Assessment, Quota) would be able to show them as specific object for their respective GUI.
  • Then it would be great to be able to give a short description of the Equation question. For instance "Scenario for Single Male of more than 25 years old". It would make using the GUI easier, and would also propose a solution for printable surveys where we would be able to print the Scenario description instead of the full EM expression. This description could simply be the traditionnal "Question-Text" (which is also available in several languages and thus would suit the printable survey requirements).

Comments are welcome...

lemeur

lemeur

2011-10-11 23:28

reporter   ~16395

TMSWhite, you are assigne this ticket only to let you know the ticket ID.
You can assign it back to me after as you'll not be implementing the GUI part.
Anyway I would be happy to have feedback from you and maybe other users such as Mazi.

Issue History

Date Modified Username Field Change
2011-10-11 23:20 lemeur New Issue
2011-10-11 23:20 lemeur Status new => assigned
2011-10-11 23:20 lemeur Assigned To => TMSWhite
2011-10-11 23:27 lemeur Note Added: 16394
2011-10-11 23:28 lemeur Note Added: 16395
2011-10-11 23:30 lemeur Note Edited: 16394
2011-10-15 12:24 c_schmitz Assigned To TMSWhite => lemeur
2012-01-23 16:56 c_schmitz Project Bug reports => @10@
2012-08-14 22:57 c_schmitz Relationship added duplicate of 05279
2012-08-14 22:57 c_schmitz Status assigned => closed
2012-08-14 22:57 c_schmitz Resolution open => duplicate
2026-11-20 10:33 c_schmitz Category Conditions => (No Category)