View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
13988Bug reportsOtherpublic2020-12-28 18:55
Reportercdorin Assigned To 
PrioritynormalSeverityminor 
Status confirmedResolutionopen 
Product Version3.13.x 
Summary13988: Default Theme Fruity - validation
Description

So, the first question uses a validation criteria in such way that you can type in only even numbers. If you type something wrongly, the whole question gets "marked"/surrounded by a red textbox + what you entered gets a red font.

In the past, only the wrong subquestion fields were getting marked with red if the validation criteria failed. The subquestion fields
the question and the rest of the correct subquestion fields was not being changed.

To better understand what i mean, compare the screenshot attached below to this one: https://manual.limesurvey.org/images/archive/b/bf/20180821154247!Sqvalidation.jpg

TagsNo tags attached.
Attached Files
Selection_188.png (14,649 bytes)   
Selection_188.png (14,649 bytes)   
Selection_191.png (17,447 bytes)   
Selection_191.png (17,447 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)irrelevant
I will donate to the project if issue is resolvedNo
Browser
Database type & versionirrelevant
Server OS (if known)irrelevant
Webserver software & version (if known)irrelevant
PHP Versionirrelevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2018-08-22 10:33

developer   ~48844

I'm pretty sure that only the wrong input become orange, can you check?

cdorin

cdorin

2018-08-30 13:35

reporter   ~48915

Last edited: 2020-12-28 18:55

Hey @LouisGac.

Indeed, orange (my bad).

However, in the past, only the wrong cell was becoming red. Now, all the cells get red. See the two screenshots from below. In the first one, I type 5 and 6, as these are the values that I am allowed to type in. If I type somewhere else 7. then all the fields get "oranged", and not the wrong cell where I introduced 7 (as it was in the past)

Selection_192.png (20,293 bytes)   
Selection_192.png (20,293 bytes)   
DenisChenu

DenisChenu

2018-08-30 14:20

developer   ~48916

Last edited: 2020-12-28 18:55

Issue here : https://github.com/LimeSurvey/LimeSurvey/blob/d9e59e12ae3f265e890a9320cfe9ffc86817ae63/assets/packages/template-core/template-core.js#L77
Adding input-error on wrapper set errors color on all input.

Previously : it was not in core, only in template

Issue History

Date Modified Username Field Change
2018-08-21 18:13 cdorin New Issue
2018-08-21 18:13 cdorin Status new => assigned
2018-08-21 18:13 cdorin Assigned To => LouisGac
2018-08-21 18:13 cdorin File Added: Ls2_test_em_sq_validation.lss
2018-08-21 18:13 cdorin File Added: Selection_188.png
2018-08-22 10:33 LouisGac Note Added: 48844
2018-08-30 13:35 cdorin File Added: Selection_191.png
2018-08-30 13:35 cdorin File Added: Selection_192.png
2018-08-30 13:35 cdorin Note Added: 48915
2018-08-30 14:20 DenisChenu Note Added: 48916
2018-08-30 14:21 DenisChenu File Added: Capture du 2018-08-30 14-21-21.png
2019-12-09 15:56 cdorin Assigned To LouisGac => cdorin
2020-12-28 18:55 cdorin Assigned To cdorin =>
2020-12-28 18:55 cdorin Priority none => normal
2020-12-28 18:55 cdorin Status assigned => confirmed
2020-12-28 18:55 cdorin Sync to Zoho Project => |Yes|