Option to set conditional max and min values for the Slider field

We have a use case where we’d love to be able to set the lower and/or upper limits of a slider based on the answer to a previous question.

As an example… our question on slider A might ask ‘How many licenses do you have?’ with boundaries of 1 to 1000.

Slider B asks ‘How many of licenses would you like to update’… with boundaries 1-1000.

Ideally, if someone answers slider A with the value 321, then there is the back-end option for this to becomes the upper boundary of slider B.

I.e. slider B dynamically becomes 1-321 instead of 1-1000.

  • Slider A: value 321 range 1-1000
  • Slider B: value not set range 1-321

If the user were to move slider B to 234 then slider 1 minimum could (though backend configuration) become 234 (without changing the value)… such that the boundaries were:

Slider A: value 321 range 234-1000
Slider B: value 234 range 1-321

If the user moves Slider B to 100, then Slider A’s boundaries change again.

Slider A: value 321 range 100-1000
Slider B: value 100 range 1-321

Note that by these being back-end configuration options to set the lower or upper boundary from an answer rather than ‘hard-coded’, care must be taken to ensure that hints are used to describe what’s going on so.

2 Likes

Hi there, @mattuk :wave:

A huge thank you for such a detailed description of your use case!

This idea sounds interesting and if it gains more votes, we’ll try to think it over in the future :slightly_smiling_face:

1 Like