Check out the LimeSurvey source code on GitHub!
  • LimeSurvey - the most popular
    Free Open Source Software survey tool on the web.

There have been many forum posts recently asking how to use Expression Manager (EM) and other new features available in Version 1.92+. We have found the best way to learn is to explore working demos.

So, we have updated the documentation to provide easy access to 9 new surveys that test all of the EM and new 1.92 features. For each, we describe which features the survey demonstrates, and provide representative screen shots plus a link to download the survey so that you can import and play with it yourself. The main features demonstrated include:

  • Relevance - with support for more powerful conditional logic than is available via the 1.91+ Conditions editor.
  • Group-level Relevance - if the same conditions apply to all questions in a group, you no longer have to apply them to each question (as was true in 1.91+) - simply specify the relevance at the group-level.
  • Cascading Relevance - this never worked perfectly in 1.91+. Now it does. And, you don't need to specify all of the conditional logic for cascaded questions - they will automatically inherit the conditions from any questions upon which they depend.
  • Piping / Tailoring - easier, more powerful ability to insert answers and question metadata than the old {INSERTANS:xxx} syntax.
  • Conditional Micro-Tailoring - you can dynamically change sentences, such as "Mr." vs. "Mrs.", or "child" vs. "children" based upon prior questions (even ones on the same page). You can even conjugate verbs and decline nouns based upon the gender and/or number of your subjects.
  • Equations - there is a new Equation question type that lets you do complex calculations and store them in the database, all without needing custom JavaScript (thus, this is more powerful and flexible than 1.91+ Assessment functionality).
  • Conditional Validation - traditional validation, like regular expressions, min/max numbers of answers, min/max individual values, and min/max/equals summed values are more robustly supported, with tailored message and CSS styling rather than pop-up messages. Moreover, you can use equations so that your min/max criteria are based upon prior answers. Additionally, these traditional validation styles work for many more question types.
  • (Sub)-Question Level Validation - for most question types, you can now use complex expressions to validate either individual answers or the collection of answers. This lets you do things like ensure that answers are in descending order; specify the maximum responses on a row; or even call external functions to validate the response.
  • Better International Support - you can now use the comma as a radix separator (decimal point) in all question types that require numerical input, plus be sure that the data will be properly stored in the database.
  • Qcode Naming - when you do tailoring, you need to know the proper naming of your variables. One of the surveys includes samples of every question type so you can see how variables should be named.
  • Tailoring using Question Metadata - there are now 16 "dot notation" suffixes available for each question. These let you easily access question metadata (e.g. text, relevance, number, IDs) and answer metadata (e.g. the value stored in the database, the value shown, or the assessment value). One of the surveys has tables showing (for all question types), the values generated for each of these dot notation suffixes.

Please remember:

The easiest way to visualize the entire survey and all of its logic is to use the QA (Survey Logic File) button.
Hovering the mouse over the syntax-highlighted variables shows the variable and/or function definitions.
Clicking on a syntax-highlighted variable opens a new window letting you edit that question.




Log in to comment


Survey respondents needed? Book respondents from 40+ countries for your research survey at
NuSPhere PhpEd logo
The LimeSurvey project uses PhpEd from Nusphere - one great PHP development IDE for Windows.
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form