View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
10826Bug reportsOtherpublic2016-06-13 12:27
Reportertpartner Assigned ToLouisGac 
PrioritylowSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Target Version2.50.x 
Summary10826: Add sub-question behaviour not correct
Description

1) The default sub-question code is SQ001 but when adding more sub-questions the default codes are SQ2, SQ3... These should default to sequential codes like in 2.06.

2) The placeholder text in new sub-questions is "New answer option" but should be "New subquestion".

3) In my opinion, the placeholder text should be a lighter color than the input text.

4) In my opinion, the placeholder text should disappear as soon as the input is focused, not when typed in.

Steps To Reproduce

Create multi-short text or array question. Add sub-questions.

TagsNo tags attached.
Attached Files
capture2.png (11,383 bytes)   
capture2.png (11,383 bytes)   
Bug heat8
Complete LimeSurvey version number (& build) c55c3d0
I will donate to the project if issue is resolvedNo
BrowserN/A
Database type & versionN/A
Server OS (if known)N/A
Webserver software & version (if known)N/A
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-03-24 16:06

developer   ~36794

" 4) In my opinion, the placeholder text should disappear as soon as the input is focused, not when typed in." is the default behaviour of placeholder.

Not sure is the best to hide it when focused, maybe more ligther but not hide.
no ?

tpartner

tpartner

2016-03-24 16:20

partner   ~36796

Maybe but my preference is to have it disappear. It is, after all, just a placeholder.

LouisGac

LouisGac

2016-03-31 09:50

developer   ~36857

I think I'll finish rewriting all that part...

c_schmitz

c_schmitz

2016-05-17 13:34

administrator   ~38629

1+2 is resolved.

3) is hard to do, because browser-dependant: http://stackoverflow.com/questions/2610497/change-an-inputs-html5-placeholder-color-with-css

4) is Browser-dependent and cannot be resolved by us.

LouisGac

LouisGac

2016-06-07 16:21

developer   ~39291

1 totally resolved with :

https://github.com/LimeSurvey/LimeSurvey/commit/a63798c056afcc795d42e5a57c94cb6134b990aa

https://github.com/LimeSurvey/LimeSurvey/commit/01a4c56ebecd41b1c45b0e9959ba04e2e7b5a278

2 and 3 was yet resolved.
About the placeholder color, see:
https://github.com/LimeSurvey/LimeSurvey/blob/master/styles/Sea_Green/css/lime-admin-colors.css#l418-l426

4 will not be fixed. It's browser dependent, and IMHO the browser developers have very good reasons to choose this behavior (eg: myself, when moving fast between different inputs using tab, I often read the placeholder once the focus is on the input )

3 - 4 will not be changed : not a bug, browser functionality )

c_schmitz

c_schmitz

2016-06-13 12:27

administrator   ~39493

Version 2.50 Build 160613 released

Issue History

Date Modified Username Field Change
2016-03-24 12:56 tpartner New Issue
2016-03-24 12:56 tpartner File Added: capture2.png
2016-03-24 16:06 DenisChenu Note Added: 36794
2016-03-24 16:20 tpartner Note Added: 36796
2016-03-30 14:58 ollehar Assigned To => ollehar
2016-03-30 14:58 ollehar Status new => assigned
2016-03-31 09:50 LouisGac Note Added: 36857
2016-05-17 13:34 c_schmitz Note Added: 38629
2016-05-17 13:35 c_schmitz Assigned To ollehar =>
2016-05-17 13:35 c_schmitz Priority none => low
2016-05-17 13:35 c_schmitz Status assigned => new
2016-06-07 16:21 LouisGac Note Added: 39291
2016-06-07 16:21 LouisGac Status new => resolved
2016-06-07 16:21 LouisGac Resolution open => fixed
2016-06-07 16:21 LouisGac Assigned To => LouisGac
2016-06-13 12:27 c_schmitz Note Added: 39493
2016-06-13 12:27 c_schmitz Status resolved => closed