View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06081Bug reportsSurvey takingpublic2012-05-17 10:27
Reportermdekker Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.92+ 
Fixed in Version1.92+ 
Summary06081: Question tip always shows, not only after page submit
Description

Probably due to EM changes, the question attribute that hides the tip (hide-tip class) functions a little different now. It used to only show an error when the page was submitted, now it shows an error while on the page.

Example: multiple choice, select betweeen 1 and 2 answers

When one enters the page, it shows an error that we can not hide. It used to only show the error after submitting the page before if i remember correct. Would it be possible to restore it to that state? To only show the error after the page was submitted when hide-tip is on?

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)120510
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known).
Webserver software & version (if known).
PHP Version.
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

tpartner

tpartner

2012-05-10 12:24

partner   ~18652

This is an EM issue so I'll pass it on to Tom.

TMSWhite

TMSWhite

2012-05-10 13:42

reporter   ~18658

The best solution is a 3 toggle state for hide_tip:
(0) never show tips (off)
(1) only show on error (after submit) - e.g. default 1.91+ behavior
(2) show on warning (pre-submit) or error - e.g. default 1.92+ behavior

Do you want that change for 1.92+?

The work-around in 1.92 is to use the new CSS attributes to prevent showing of certain questions.

TMSWhite

TMSWhite

2012-05-10 20:50

reporter   ~18684

more specifically, if you want to always hide errors for all question types until submitted, edit your template.css file so that instead of this:

span.hide-tip div.error {
color: #FF00FF;
}

it says this:

span.hide-tip div.error {
display: none;
}

TMSWhite

TMSWhite

2012-05-10 20:52

reporter   ~18686

This does not require a code change. Instead, users can make a one line change in their template.css file.

c_schmitz

c_schmitz

2012-05-17 10:27

administrator   ~18821

New 1.92+ version released.

Issue History

Date Modified Username Field Change
2012-05-10 11:57 mdekker New Issue
2012-05-10 11:57 mdekker Status new => assigned
2012-05-10 11:57 mdekker Assigned To => tpartner
2012-05-10 12:24 tpartner Note Added: 18652
2012-05-10 12:24 tpartner Assigned To tpartner => TMSWhite
2012-05-10 13:42 TMSWhite Note Added: 18658
2012-05-10 20:50 TMSWhite Note Added: 18684
2012-05-10 20:52 TMSWhite Note Added: 18686
2012-05-10 20:52 TMSWhite Status assigned => resolved
2012-05-10 20:52 TMSWhite Fixed in Version => 1.92+
2012-05-10 20:52 TMSWhite Resolution open => no change required
2012-05-17 10:27 c_schmitz Note Added: 18821
2012-05-17 10:27 c_schmitz Status resolved => closed