From 0d80706f276f76524d4a24eb09b860d2fde4a1d0 Mon Sep 17 00:00:00 2001 From: tmswhite Date: Tue, 7 Feb 2012 03:21:57 +0000 Subject: [PATCH] Fixed issue #05768: In List with Comment type, if set to mandatory, the comment is also required git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12383 b72ed6b6-b9f8-46b5-92b4-906544132732 --- .../helpers/expressions/em_manager_helper.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/application/helpers/expressions/em_manager_helper.php b/application/helpers/expressions/em_manager_helper.php index 0816b4b60e0..2c91c34df6c 100644 --- a/application/helpers/expressions/em_manager_helper.php +++ b/application/helpers/expressions/em_manager_helper.php @@ -4258,6 +4258,20 @@ function _ValidateQuestion($questionSeq) } $mandatoryTip .= $LEM->gT('Please rank all items').'.'; break; + case 'O': //LIST WITH COMMENT drop-down/radio-button list + textarea + $_count=0; + for ($i=0;$i 0) + { + $qmandViolation = true; + } + break; default: if (count($unansweredSQs) > 0) {