View Issue Details

This bug affects 1 person(s).
 10
IDProjectCategoryView StatusLast Update
12240Feature requestsSurvey editingpublic2018-06-26 10:59
Reporterjelo Assigned ToDenisChenu  
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Target Version3.0Fixed in Version3.0 
Summary12240: Validation settings for "array by column" question type
Description

Currently the array by column questiontype offers no validation settings at all.
Only logic setting available is "Randomization group name:". Nothing else.
https://manual.limesurvey.org/Question_type_-_Array_by_column

Seems to be no bug, but a missing feature.

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

Relationships

related to 13288 closedDenisChenu Validation settings for more question type 

Users monitoring this issue

DenisChenu

Activities

DenisChenu

DenisChenu

2017-04-02 12:13

developer   ~43365

Yes, think we can easily add sub question validation and question validaton here.

DenisChenu

DenisChenu

2017-07-04 00:29

developer   ~44018

Think it's easy in 3.0, add it

DenisChenu

DenisChenu

2017-07-04 00:37

developer   ~44020

jelo : can you send a little survey file with the needed 'subquestion validation' in help ?

Maybe 2 or 3 question (in english)

Mazi

Mazi

2018-01-17 10:19

updater   ~45853

Sample survey needed...

jelo

jelo

2018-01-17 11:02

partner   ~45857

Don't understand the demand for a sample survey. Perhaps I got it wrong.

My wording might be not correct, but the idea of the feature request was to have question-/subquestion-validation across all array-questions available. The codebase might not be ready for that. But there seems to be no logical reason, that you cannot apply a validation to every array-question. The trigger was trying to apply em unique() to array by columm question. Not possible cause the field is not there.

When I look at the manual I see the following situation:

Question type - Array
Whole question validation equation (em_validation_q)

Question type - Array by column
None

Question type - Array dual scale
None

Question type - Array (5 point choice)
None

Question type - Array (10 point choice)
None

Question type - Array (Increase-Same-Decrease)
None

Question type - Array (Numbers)
Whole question validation equation (em_validation_q)
Sub-question validation equation (em_validation_sq)

Question type - Array (Texts)
Whole question validation equation (em_validation_q)
Sub-question validation equation (em_validation_sq)

Question type - Array (Yes-No-Uncertain)
None

DenisChenu

DenisChenu

2018-01-17 11:06

developer   ~45858

Because : it's more easy to import a real situation example ;) .

I can put count(self.NAOK)> 1 for example , but if you have a real situation :

  1. I don't have to create a new survey
  2. I don't have to put sme string

;)

jelo

jelo

2018-01-17 11:47

partner   ~45861

The example was real. I placed the feature request after having a forum user with a array by column question. Perhaps I have overlooked something? But I wonder where to place EM to ensure that every answer is unique.

DenisChenu

DenisChenu

2018-01-17 15:49

developer   ~45868

Thanks jelo :)

:( i think it's easy … but array by column don't have q2subqInfo … why ????

But i use your file for another bug report ;) https://bugs.limesurvey.org/view.php?id=13194 (not related to this one)

user70560

2018-01-19 10:17

  ~45911

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

DenisChenu

DenisChenu

2018-01-30 14:57

developer   ~46156

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

Related Changesets

LimeSurvey: master ea543a5d

2018-01-19 11:17

user70560

Committer: GitHub


Details Diff
New feature 12240: Validation settings for "array by column" question type

New feature : Add em_validation_q to list of choice (dropdown and radio)
Fixed issue : EM expression on other for list dropdown didn't work
Affected Issues
12240
mod - application/helpers/expressions/em_manager_helper.php Diff File
mod - application/helpers/questionHelper.php Diff File
mod - application/views/survey/questions/answer/list_dropdown/rows/othertext.php Diff File
mod - application/views/survey/questions/answer/listradio/rows/answer_row_other.php Diff File

Issue History

Date Modified Username Field Change
2017-03-29 23:32 jelo New Issue
2017-04-02 12:12 DenisChenu Issue Monitored: DenisChenu
2017-04-02 12:13 DenisChenu Note Added: 43365
2017-07-04 00:29 DenisChenu Note Added: 44018
2017-07-04 00:29 DenisChenu Assigned To => DenisChenu
2017-07-04 00:29 DenisChenu Status new => assigned
2017-07-04 00:37 DenisChenu Note Added: 44020
2018-01-17 10:19 Mazi Status assigned => feedback
2018-01-17 10:19 Mazi Note Added: 45853
2018-01-17 11:02 jelo Note Added: 45857
2018-01-17 11:02 jelo Status feedback => assigned
2018-01-17 11:06 DenisChenu Note Added: 45858
2018-01-17 11:07 DenisChenu Target Version => 3.0
2018-01-17 11:47 jelo File Added: 20180117.arraybycolumnunique_287834.lss
2018-01-17 11:47 jelo File Added: 20180117.arraybycolumnunique.PNG
2018-01-17 11:47 jelo Note Added: 45861
2018-01-17 15:49 DenisChenu Note Added: 45868
2018-01-19 10:17 user70560 Changeset attached => LimeSurvey master ea543a5d
2018-01-19 10:17 user70560 Note Added: 45911
2018-01-19 10:17 user70560 Assigned To DenisChenu => user70560
2018-01-19 10:17 user70560 Resolution open => fixed
2018-01-30 14:57 DenisChenu Changeset attached => LimeSurvey master abef4c6f
2018-01-30 14:57 DenisChenu Note Added: 46156
2018-01-30 14:57 DenisChenu Assigned To user70560 => DenisChenu
2018-02-01 16:32 DenisChenu Relationship added related to 13288
2018-02-01 18:10 DenisChenu Status assigned => resolved
2018-02-01 18:10 DenisChenu Fixed in Version => 3.0
2018-04-06 11:48 markusfluer Status resolved => closed
2018-06-26 10:59 DenisChenu Changeset removed LimeSurvey master abef4c6f =>
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-02 17:18 guest Bug heat 8 => 10