View Issue Details

This bug affects 1 person(s).
 36
IDProjectCategoryView StatusLast Update
06023Bug reportsPrint Viewpublic2013-02-07 22:45
ReporterCamino Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Target Version2.00+Fixed in Version2.00+ 
Summary06023: Print preview shows conditions as formula
Description

When activiating the print preview, conditions are shown as a formula instead of a description of the condition.

Example:
° ((K01.NAOK != "5"))

TagsNo tags attached.
Bug heat36
Complete LimeSurvey version number (& build)120412
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionmysql 5.1.60
Server OS (if known)apache
Webserver software & version (if known)apache 2.2.22
PHP Version5.3.8

Relationships

has duplicate 06533 closedc_schmitz Expression Manager has removed plain language conditions explanations from the printable survey 
has duplicate 07130 closedc_schmitz Cryptic validation criteria shown in data entry mode 
has duplicate 07198 closedc_schmitz Question completion conditions aren't easy to understand 

Users monitoring this issue

mfaber

Activities

TMSWhite

TMSWhite

2012-04-17 15:31

reporter   ~18407

Although all conditions are forwards compatible with relevance equations, there are myriad relevance equations that can never be converted back into conditions. So, if a survey uses any custom relevance, it is impossible to create print previews that looked like those in 1.91+.

I see the following options:
(1) If people want the 1.91+ style print-preview, let them import their survey into 1.91+ and create the print preview

(2) Modify the equations generated by EM to be a little more friendly - for example, users won't care about the suffix, so that equation could be (K01 != "5"). As long as the print preview shows the question name (K01) and the mapping of internal code values to the display choices (e.g. 1) Mild; 2) Moderate; 3) Severe), then it will be relatively easy for users to read the relevance equations and figure out whether they should answer those questions.

(3) Re-introduce the condition-printing code into print preview (it was removed), and have it display only for questions that do not use custom relevance (e.g. it is auto-created from the conditions editor). If so, the challenge is what to do with custom relevance equations - just show them as is now, or something else. Enough other changes have been made to 1.92+ that I expect that it isn't as simple as adding back the legacy code, but that it would have to be upgraded quite a bit.

So, given the level of effort needed to implement solution #3 (or even #2), and given that solution #1 is a viable work-around, I recommend tabling this (e.g not trying to do it in 1.92) and considering it as an enhancement for version 2.

Camino

Camino

2012-04-26 15:20

reporter   ~18492

I would like to add that it would be good if not only in print preview but also when looking at the question it would be "user friendly" to not see the formula but the expression.

Mazi

Mazi

2012-04-26 15:27

updater   ~18494

Solutions 1. and 2. are really not that user friendly. Keep in mind that most users are no geeks :-)

I vote for re-implementing the 1.91 condition printing and also extend it to the question view at the admin backend to help users "understand" simple conditions.
For advanced conditions using new EM feature we would probably have to use the pure EM syntax because such conditions could be very complex.

TMSWhite

TMSWhite

2012-05-18 01:28

reporter   ~18842

Mazi-

You should consider giving authors the option to show equations vs. the 1.91 style. For what it's worth, all of the customers I've worked with (public health researchers and epidemiologists) much prefer equation syntax since they are administering interviews that last 20 minutes to several hours, and it is much easier to flip back to a page and see what answers you have circled (e.g. the answer code) than to have to read the verbose description of the condition and cross-reference that with each of the answer choices for the preceding questions. I think those customers would call themselves pragmatists rather than geeks.

However, that use case is having research assistants administer paper interviews to someone else. A subject answering for themselves might find the more verbose conditions easier to understand.

Mazi

Mazi

2012-06-19 12:18

updater   ~19346

So why not showing both, first a more verbal syntax and then the equation syntax in brackets:
"Only answer this question IF question X was answered Y (qx=='y')."

boykov

boykov

2012-10-02 11:06

reporter   ~20973

Hi,
I hope this bug report is not abandoned.
It seems like the 1.92 style is nisched only for reserachers and epidemiologists, the rest of the users are just out of luck on this one.
Without verbose conditions the print version is useless for field surveys. It makes it also very dificult to get overview of the conditions when composing the questionnaire.
I don't understand what you mean by "it is much easier to flip back to a page and see what answers you have circled (e.g. the answer code)". Flip back to which page?
It looks like this when I try to print the survey:
Only answer this question if the following conditions are met:
° ((1_5.NAOK == "Y"))

There is no question 1_5 anywhere else on the print-out, and NAOK does not hint wich option from the multiple-choice question was selected. This defeats the purpose of the Printable Version, and breaks a functionality that has been around since LS 1.8 as far as I know.

I also vote for re-implemeting the 1.91 condition printing and I am willing to make a donation if this gets fixed within 7 days.

Best regards
/Boyko

mdekker

mdekker

2012-11-16 16:28

reporter   ~22283

Just a very simple thought: if we add a new field to the question (so available in all languages) that could hold a custum relevance "description", we could print the equation if the description is empty but allow people to write out something they want to see when they need it. Ofcourse this doesn't enforce the two to match, but at least people can use the print without modification again if they need it.

mfaber

mfaber

2012-12-06 21:32

reporter   ~22990

Hmm..I am also working in a public health institute. At them moment we are looking at finding a survey software that would (among other) allow online as well as paper based surveys (print version). The latter is really important for us. ARE the readable descriptions of the conditions coming back? If yes, approximately when (weeks, months?)? If not...oh dear...we have to keep looking for other survey softwares....

regards
M

c_schmitz

c_schmitz

2013-01-30 19:56

administrator   ~23901

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11540

c_schmitz

c_schmitz

2013-02-07 10:52

administrator   ~23968

New version 2.00 build 120206 released.

c_schmitz

c_schmitz

2013-02-07 22:45

administrator   ~24000

Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11590

Related Changesets

LimeSurvey: master d1e10344

2013-01-30 16:32

c_schmitz


Details Diff
Fixed issue 06023: Print preview shows conditions as formula
New feature: Added new setting 'showrelevance' to config file - When this settings is activated then the printable survey option will show the raw relevance equation below the general fill-out instructions in case the question has conditions
New feature: New advanced question attribute to set a fill-out help text for the printable view
Affected Issues
06023
mod - application/config/config-defaults.php Diff File
mod - application/controllers/admin/printablesurvey.php Diff File
mod - application/helpers/common_helper.php Diff File
mod - application/models/Conditions.php Diff File

LimeSurvey: 2.1 2b326a65

2013-02-07 22:34

c_schmitz


Details Diff
Fixed issue 06023: Print preview shows conditions as formula
New feature: Added new setting 'showrelevance' to config file - When this settings is activated then the printable survey option will show the raw relevance equation below the general fill-out instructions in case the question has conditions
New feature: New advanced question attribute to set a fill-out help text for the printable view
Affected Issues
06023
mod - application/config/config-defaults.php Diff File
mod - application/controllers/admin/printablesurvey.php Diff File
mod - application/helpers/common_helper.php Diff File
mod - application/models/Conditions.php Diff File

Issue History

Date Modified Username Field Change
2012-04-17 09:32 Camino New Issue
2012-04-17 09:49 c_schmitz Assigned To => TMSWhite
2012-04-17 09:49 c_schmitz Status new => assigned
2012-04-17 15:31 TMSWhite Note Added: 18407
2012-04-17 15:31 TMSWhite Assigned To TMSWhite =>
2012-04-17 15:31 TMSWhite Status assigned => acknowledged
2012-04-26 15:20 Camino Note Added: 18492
2012-04-26 15:27 Mazi Note Added: 18494
2012-04-26 15:27 Mazi Assigned To => c_schmitz
2012-04-26 15:27 Mazi Status acknowledged => assigned
2012-05-02 23:55 c_schmitz Target Version => 2.00RC1
2012-05-02 23:55 c_schmitz Additional Information Updated
2012-05-18 01:28 TMSWhite Note Added: 18842
2012-06-18 11:36 c_schmitz Status assigned => acknowledged
2012-06-19 12:18 Mazi Note Added: 19346
2012-08-31 13:33 TMSWhite Relationship added has duplicate 06533
2012-10-02 11:06 boykov Note Added: 20973
2012-10-07 13:33 c_schmitz Status acknowledged => assigned
2012-10-07 13:34 c_schmitz Status assigned => acknowledged
2012-10-07 13:34 c_schmitz Target Version 2.00RC1 => 2.10
2012-11-16 16:28 mdekker Note Added: 22283
2012-12-06 21:32 mfaber Note Added: 22990
2012-12-06 21:32 mfaber Issue Monitored: mfaber
2013-01-03 09:44 c_schmitz Relationship added has duplicate 07130
2013-01-16 15:58 mdekker Relationship added has duplicate 07198
2013-01-30 16:39 c_schmitz Status acknowledged => assigned
2013-01-30 19:56 c_schmitz Changeset attached => LimeSurvey master d1e10344
2013-01-30 19:56 c_schmitz Note Added: 23901
2013-01-30 19:56 c_schmitz Resolution open => fixed
2013-01-30 19:56 c_schmitz Status assigned => resolved
2013-01-30 19:56 c_schmitz Fixed in Version => 2.00+
2013-01-30 19:57 c_schmitz Target Version 2.10 => 2.00+
2013-02-07 10:52 c_schmitz Note Added: 23968
2013-02-07 10:52 c_schmitz Status resolved => closed
2013-02-07 22:45 c_schmitz Changeset attached => LimeSurvey 2.1 2b326a65
2013-02-07 22:45 c_schmitz Note Added: 24000
2021-08-02 19:04 guest Bug heat 32 => 36