View Issue Details

IDProjectCategoryView StatusLast Update
11694Feature requests[All Projects] Survey designpublic2016-11-14 15:21
Reporterjelo Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary11694: Slider Questions mit numerical input textbox
Description

Allow displaying a numerical input textbox that appears next to the slider bar

Will help, if people are unable to set the slider correctly (e.g. touchscreen, bug in the browser, bug in LS).

TagsNo tags attached.

Activities

DenisChenu

DenisChenu

2016-11-14 13:14

developer   ~41875

Against : use multi numeric without slider.

jelo

jelo

2016-11-14 14:14

partner   ~41880

The feature request is about a numeric textbox with slider. And your answer is to use the numeric text box. I don't understand the reasoning behind it.

E.g. are you against increase decrease buttons in number/date fields?
See attached picture.
Slider with numeric fields and increase decrease buttons are common:
http://www.html5tutorial.info/html5-range.php

In the end Limesurvey devs will come up with a separate slider question type.
Something like this widget: https://www.drupal.org/project/sliderfield

I prefer duplication of code. The risk to have wrong abstractions is high. Over time abstractions become wrong since the user cases change. The multi-numeric question type with this mass of advanced options is a good example for not putting everything in one question but let duplication in code happen.

DenisChenu

DenisChenu

2016-11-14 14:59

developer   ~41881

Hi,

Using input type='range' : OK : great idea .
Like input type='date' or input type='color' or input type='number' : yes and yes and yes.

But : if browser know 'range' : you don't have a input:text + input:range
See screenshot.

Actually : i already have a system to use type='number' in place of type='text' data-type='number' . But : with radix : it's broken.
Like input type='date' : really best solution BUT : hard to have 'formatted date'

DenisChenu

DenisChenu

2016-11-14 14:59

developer  

DenisChenu

DenisChenu

2016-11-14 15:00

developer   ~41882

Ps : you see a text here : http://www.html5tutorial.info/images/slider_gallery.png ?

LouisGac

LouisGac

2016-11-14 15:13

manager   ~41884

When I had to write the new sliders, I had a deep look into the HTML5 range. It clearly didn't fit our needs.

DenisChenu

DenisChenu

2016-11-14 15:18

developer   ~41887

@LouisGac : yes or no .... like number/date : the issue is the format no ? Or because actual slider are not really enjoyable in major browser ?

date : always send ISO date, take date format (seen in input) by 'User browser setting' . + Add time UTC (didn't test whole browser here)
number : always send real value : take number seen in input with , or . by 'browser user setting'.

LouisGac

LouisGac

2016-11-14 15:21

manager   ~41889

I don't remember in detail, but basically: all the options that we need in advanced settings, that are the basic settings available in any slider component (jQuery ones or Bootstrap ones...), should be rewrote entirely from scratch for the HTML5 version.

Issue History

Date Modified Username Field Change
2016-09-21 11:43 jelo New Issue
2016-11-14 13:14 DenisChenu Note Added: 41875
2016-11-14 14:14 jelo Note Added: 41880
2016-11-14 14:59 DenisChenu Note Added: 41881
2016-11-14 14:59 DenisChenu File Added: Capture du 2016-11-14 14-56-08.png
2016-11-14 15:00 DenisChenu Note Added: 41882
2016-11-14 15:13 LouisGac Note Added: 41884
2016-11-14 15:18 DenisChenu Note Added: 41887
2016-11-14 15:21 LouisGac Note Added: 41889