View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08885Feature requestsExpression Managerpublic2017-10-24 16:14
ReporterDenisChenu Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary08885: Validate 'mandatory' equation
Description

Actually, we can set 'mandatory' to an equation question type, but seems nothing happen. But i think it's can be a great tool to do 'any validation needed' with an easy way.

Additional Information

Searching for an EM method for this : https://www.limesurvey.org/en/forum/installation-a-update-issues/96403-making-comment-box-mandatory-for-list-with-comment-question-type#106520
I think we can use a equation mandatory with {LIST_comment} to question text : but nothing happen.

TagsNo tags attached.
Attached Files
Bug heat4
Story point estimate
Users affected %

Relationships

related to 08673 closedDenisChenu Bug reports Equation attribute 'numeric' do nothing 

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-03-21 09:02

developer   ~29470

Last edited: 2014-03-21 09:13

I'm agree to take it if OK for 2.06 (or more ...)

Alternative : validation equation attribute for group but more for 2.1

Add the 05983 related :
Question.text : {if(is_empty(LIST_comment),"You must complete the comment",""}) , in DB: !is_empty(LIST_comment)

minnoce

minnoce

2017-10-24 15:53

reporter   ~44814

What about this issue?
I have a survey where I want to block submission if the value of an equation question is empty (or 0 or false). I'm using the equation type because I want to store in DB the result of the equation expression (computed with values from other questions).
The solution seems to be setting mandatory the equation question, but this do nothing (the survey is not blocked).

Thanks.

DenisChenu

DenisChenu

2017-10-24 16:09

developer   ~44815

It's a feature request, not a bug … else : you can use Question validation in another question too :)

I hope to find time to work on it for 3.0

minnoce

minnoce

2017-10-24 16:14

reporter   ~44816

In my opinion this is an issue, not a feature request: currently the "mandatory" setting does nothing for equation questions.

Issue History

Date Modified Username Field Change
2014-03-21 09:01 DenisChenu New Issue
2014-03-21 09:01 DenisChenu File Added: limesurvey_survey_validationequation.lss
2014-03-21 09:02 DenisChenu Note Added: 29470
2014-03-21 09:03 DenisChenu Note Edited: 29470
2014-03-21 09:12 DenisChenu Relationship added related to 08673
2014-03-21 09:13 DenisChenu Note Edited: 29470
2017-10-24 15:53 minnoce Note Added: 44814
2017-10-24 16:09 DenisChenu Note Added: 44815
2017-10-24 16:14 minnoce Note Added: 44816