View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08335Bug reportsExpression Managerpublic2026-11-20 15:27
ReporterDenisChenu Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Summary08335: Move Mandatory to EM system
Description

Starting with "numeric" question type, we have already some "default" EM expression : for ranking and for numeric question type.

This expression send information to the userwith or without javascript and with/without screenreader.

I think we have to move whole "tip" in EM, and move Mandatory to EM too.

Steps To Reproduce

Example:

  • Single choice list
    "Choose an answer" no expression by default, but !is_empty if mandatory: show error if not mandatory.
Additional Information

Take a long time because there are a lot of 'tips'

Remind to use different "tip text" with JS/noJS (for example tip text for ranking must be "select one different answer on each line" without js and "click and move your answer" in js.

But it can be really cooooooool

Tagsexpression manager
Bug heat4
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

Relationships

parent of 08946 closedDenisChenu mandatory numerical input shows numerical only validation error 
parent of 08672 closedDenisChenu Sub question attribute in mandatory question Filtered can not be answered 
related to 05741 closedDenisChenu Tip are not all included in {QUESTION_HELP} or elsewhere 
related to 09369 closedDenisChenu Mandatory type N fields are validated upon first display 
related to 11733 closedLouisGac Multiple Choice: 'Please check at least one item' helper when minimum is two 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-12-10 14:21

developer   ~42511

See : https://github.com/LimeSurvey/LimeSurvey/pull/611/files

Just partial here. BUT

  • if mandatory is partially EM managed : what to do with "This question is mandatory" : currently : it's after the EM managed system : think it must be first.
  • think it's best to have a different sentence after/before send to PHP script : OK.
  • Maybe 'default' can be used for mandatory, and then type/class updated to 'mandatory' then more easily extended with error:on error:off (for example : shown asterisk grey/red, or remove the 'This question is mandatory' string.
  • If we use for mandatiry : we must remove it in some situation : for example : in multiple choice mandatory=='minimum count at 1'
c_schmitz

c_schmitz

2026-11-20 15:27

administrator   ~87825

This was never done and there has been no activity for many years. Mandatory questions are still checked when the page is submitted, and this works well. Closing as won't fix.

Issue History

Date Modified Username Field Change
2013-11-05 09:32 DenisChenu New Issue
2013-11-05 09:43 DenisChenu Tag Attached: expression manager
2013-11-05 10:22 DenisChenu Relationship added related to 05741
2014-06-04 18:13 DenisChenu Relationship added parent of 08946
2014-06-04 18:15 DenisChenu Relationship added parent of 08672
2014-11-21 18:07 DenisChenu Relationship added related to 09369
2016-12-10 14:21 DenisChenu Note Added: 42511
2016-12-10 18:36 DenisChenu Summary Move MAndatory to EM system => Move Mandatory to EM system
2016-12-12 10:29 DenisChenu Relationship added related to 11733
2026-11-19 22:50 c_schmitz Status new => acknowledged
2026-11-20 15:27 c_schmitz Note Added: 87825
2026-11-20 15:27 c_schmitz Bug heat 2 => 4
2026-11-20 15:27 c_schmitz Status acknowledged => closed
2026-11-20 15:27 c_schmitz Resolution open => won't fix
2026-11-20 15:27 c_schmitz Product Version 2.05 =>