Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Support complex conditions sans system slowdown via optional equation parser

Support complex conditions sans system slowdown via optional equation parser 5 years 1 month ago #63887

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
ExpressionManager is now operational in the limesurvey_dev_tms branch. This includes dynamic on-current-page Assessments, conditions, and tailoring (e.g. change the value of some questions or boilerplate text displays as you type responses to other questions)

More information can be found on the wiki page [url=http://http://docs.limesurvey.org/Expression+Manager]here[/url].
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Support complex conditions sans system slowdown via optional equation parser 5 years 4 weeks ago #63939

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
Attached is a 2 page Demo of ExpressionManager that shows how it supports dynamic (e.g. on the current page):
  1. Calculations, Assessments & Reports - Page 1 shows many math facts for the numbers as you enter them
  2. Conditional Relevance (e.g. complex conditions) with cascading - Page 2 conditionally asks questions about your age, marital status, and number of children, but only showing potentially relevant questions based upon your age and prior responses
  3. Conditional Micro-Tailoring - Page 2 provides a running commentary about the information you entered at the bottom of the page
  4. Blanking out Non-Applicable (e.g. irrelevant) responses. Page 2 shows that if you first enter an adult age and information about children, then change the entered age to 4, all of the questions that depend upon age get blanked out. This feature is used to support cascading logic in the Relevance equations so that you don't have to attach all relevance criteria to each question.


File Attachment:

File Name: Expression...7-26.lss
File Size:64 KB
The administrator has disabled public write access.
The following user(s) said Thank You: Ben_V

Support complex conditions sans system slowdown via optional equation parser 5 years 1 week ago #64599

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • Karma: 37
This functionality (now called Expression Manager) is now working (except for a few small lingering issues listed here). It is even supporting cascading conditions and dynamic computation, branching, assessments, and question generation (tailoring) on the same page.

More details can be found at the Expression Manager documentation page
Last Edit: 5 years 1 week ago by TMSWhite.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.216 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form