Check out the LimeSurvey source code on GitHub!

Support complex conditions sans system slowdown via optional equation parser

5 years 7 months ago #63887 by TMSWhite
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://]here[/url].
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

5 years 6 months ago #63939 by TMSWhite
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 following user(s) said Thank You: Ben_V

Please Log in to join the conversation.

5 years 6 months ago - 5 years 6 months ago #64599 by TMSWhite
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 6 months ago by TMSWhite.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form