Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Newbie: Hiding Responses (user interface) Adding a "-" for non-answers

  • eyeballs
  • eyeballs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 10 months ago #184009 by eyeballs
Greetings!

Looking for guidance.

The goal is to convert the paper form (attached) to digital with Limesurvey. I would like to hide certain question if "no" is selected and then display others when "yes".

At the end of the survey, I would like all answers displayed with the questions that where not answered displayed with a dash (-) automatically where a free text response would be if it was answered. Keeping the same 3 column formatting, if possible.

For example:

If the individual was not bitten by an animal,the third column would not show. However, upon conclusion of the survey the entire question will print to screen (or email) with a "-" in the space directly below 4a and 4b etc.

Where can i find a working example close to this task or instructions so I can study it.

Thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #184014 by tpartner
Please refer to the manual - Expression Manager Tailoring/Piping - manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping

So, the piped answer would be something like:

Code:
{if(is_empty(Q1.NAOK), "---", Q1.NAOK)}

For the 3-column-layout - www.w3schools.com/html/html_tables.asp

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: cdorin, eyeballs
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose