Skip to content

Commit

Permalink
Fixed issue #17333: Soft mandatory show as mandatory : produces an in…
Browse files Browse the repository at this point in the history
…comprehensible form (#1997)

- Different error message for soft mandatory

Co-authored-by: encuestabizdevgit <devgit@encuesta.biz>
  • Loading branch information
gabrieljenik and encuestabizdevgit committed Aug 17, 2021
1 parent deb7c80 commit 07048fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/expressions/em_manager_helper.php
Expand Up @@ -6091,7 +6091,7 @@ function ($sqRankAnwsers) {
$mandatoryTip = App()->twigRenderer->renderPartial(
'/survey/questions/question_help/mandatory_tip.twig',
[
'sMandatoryText' => $LEM->gT('This question is mandatory'),
'sMandatoryText' => $qInfo['mandatory'] == 'S' ? $LEM->gT("Please notice you haven't answered this question. Still, you can continue without answering.") : $LEM->gT('This question is mandatory'),
'part' => 'initial',
'qInfo' => $qInfo
]
Expand Down

0 comments on commit 07048fe

Please sign in to comment.