View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
08336Bug reportsExpression Managerpublic2026-11-19 22:22
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary08336: Use an .event for all EM error/good etc ....
Description

EM send error to message only
EM use directly .hide/.show with relevance

This can not be easily enhanced: for example remove the input-error with mandatory question after answer was set.

Steps To Reproduce

An example:

  • Create a "single choice list mandatory"
  • Lauch survey
  • Try to go next: the question are shown in red,
  • answer the question : the question text still in red, but must be OK now.

This example need more modification, but it's the idea for new dev.

Better example:

  • Create a "numeric" question type mandatory
  • Lauch survey : the tip are show red
  • Try to go next: the question are shown in red
  • Answer question : question text still in red
Additional Information

We can creat 2 new event (more ? Don't know):

  • One for Relevance (change : true/false)
  • One for validity tips (change good/error)

Use this event to trigger actual effect : template can replace it, Plugns can replace it, quetsion type can replace it

for relevance event:
target : question id OR group id OR subquestion id OR answer id
Add more data: question id and group id every time ? Another one ?

for valide event:
target : question id OR group id OR subquestion id OR answer id
Add more data: question id and group id every time ? Another one ?

Maybe add some data to question too : error count. But this can be done in plugin

Tagsconditions, expression manager
Bug heat6
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
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

sammousa

sammousa

2013-11-05 09:44

reporter   ~27087

This is what we are already using in 2.1.

DenisChenu

DenisChenu

2013-11-05 09:47

developer   ~27088

Last edited: 2013-11-05 09:47

OK, i think ly RSS link to 2.1 commit are broken :)

I take 2.1 and have a look then

c_schmitz

c_schmitz

2026-11-19 22:22

administrator   ~87702

LimeSurvey 7 Expression Manager fires events for relevance (relevance:on / relevance:off) and for validation tips (classChangeError / classChangeGood), so themes and plugins can change the default behaviour. Closing as fixed.

Issue History

Date Modified Username Field Change
2013-11-05 09:42 DenisChenu New Issue
2013-11-05 09:43 DenisChenu Tag Attached: expression manager
2013-11-05 09:43 DenisChenu Tag Attached: conditions
2013-11-05 09:44 sammousa Note Added: 27087
2013-11-05 09:45 DenisChenu Steps to Reproduce Updated
2013-11-05 09:46 DenisChenu Additional Information Updated
2013-11-05 09:47 DenisChenu Note Added: 27088
2013-11-05 09:47 DenisChenu Note Edited: 27088
2026-11-19 22:22 c_schmitz Note Added: 87702
2026-11-19 22:22 c_schmitz Bug heat 4 => 6
2026-11-19 22:22 c_schmitz Status new => closed
2026-11-19 22:22 c_schmitz Resolution open => fixed