Webforms range / slider widget appearance on page load

When I have a range / slider widget in a web form but no default value it behaves differently to Collect - there is a blue dot at the left side even though there is no value selected. In Collect there is no bar visible (i.e. it looks empty). If I set a value in Collect the bar is visible, so it is easy to tell the difference from no value. Also, in Collect I can just tap the left-hand end to register the minimum value.

In Web forms, clicking / tapping that blue circle doesn't produce a minimum value - I have to click (or tap) and drag out and back.

I understand that the blue circle is a visual clue, but it's slightly counter-intuitive (to me) that there is no change on the slider between unselected and minimum value - obviously there's a number or blank space, but it's away from my visual focus. I'm wondering if it might be an option to use an unfilled circle if there is no default set, and allow a simple click/tap to register minimum (and change the appearance to the standard filled circle)?

It would also make the behaviour more consistent with Collect (not identical, obviously, but I see why a blank line might not be a good solution!). I can see there is an intention to add ticks to the styling, so I'll not add commentary on that, except to be supportive...

Web Forms: On page load


After sliding out and back!

In this case I am using -1 to denote Not Measured, and 0 for Not Present, so that I can confirm that it's not just a lazy enumerator skipping through the form. And there is a constraint for not empty. For those reasons I don't want to set the default value to -1 as it would facilitate question skipping!

Apologies if this is all in the works and I'm just being impatient.

Hi @seewhy, thanks for the detailed feedback! We have been working on the range question recently, and both of the problems you describe are fixed. The changes are not released yet, but they will be part of an upcoming release.

Here are the changes:

  • No more blue dot on an unanswered slider. When there is no value, you only see the empty line.
  • Tapping the left end selects the minimum. You can tap anywhere on the line to select that value.
  • Ticks are also added.

Regarding your suggestion of an unfilled circle, we added support for the placeholder parameter that can do this. If you set it to your minimum (for example, placeholder=0 in the parameters column), the slider shows an unfilled circle at that position. It does not save any value until the user taps it, and then it changes to a filled circle.

I attached a short video showing the range feature. Let us know what you think!

If you didn't know better you'd probably suspect that I was spoiling your announcement of new features. So thanks - it reflects exactly the issue and great resolutions. And I was right:

Sorry for stealing your thunder! :rofl: