Silders with Calculated Result: How to get each selected option in a slider?

  • Profile Image
    b. simon
    Asked on February 15, 2017 at 06:18 PM
    I am trying to capture each option points from the slider and output the results on the confirmation form, or pass the values to in a string to the booking system.

    for example, if the customer selected house size 2001 - 2500, and frequency of weekly, for a total of $4

    I want to be able to capture the values of 2001 - 2500 and weekly frequency and pass those states to a booking form to complete booking.

    So, how do I figure out exactly which form parameters I need to pass. This slider with calculated result does not expose that information.

    Any thoughts on this will be appreciated.


  • Profile Image
    Answered on February 15, 2017 at 06:38 PM

    I have checked the widget and found that it does not allow to get the selected option (name in widget settings), it is only possible to get the total value in the slider. 

    However, I think there is a way to populate a text box with the selected option based on the result, for example, you could set a single slider to get each single value: 

    This will allow you to set conditions based on this result, then setting up a condition similar to this one you could populate the option's name in a text box: 

    Make sure also that you're adding the result as text, otherwise in text like 100-1500 the calculation would be performed. 

    To add the result as text by default, click on the options icon (while setting the condition) and go to the options tab, mark the add result as text by default option: 

    The condition used should be the update/calculate field: 

    Here's a screen-cast about how it should work: 

    Do note that doing this you will need to manually calculate the total in your form, this guide will help you with that: 

    Here's also the link to my sample form: 

    Feel free to clone it and inspect what I did: 

    Do note that you would also need to set up the needed conditions to populate the option's name to the text box, in my example the slider had 4 options then I needed to set up 4 conditions, one per specific value. 

    Hope this helps.