• Resolved kirkholmes

    (@kirkholmes-1)


    How can I get the user inputted values in a range slider so they can be used in a calculation? For example, I have a range slider with options of 0 to 10 with a 1 step. The user inputs a minimum value of 1 and a maximum value of 9

    How can I use the 1 and the 9 in my calculations?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello,

    In this case, the value of the slider would be an array with two items.

    For example, assuming the fieldname1 is a range slider, and you want to calculate the average for the min max selected, the equation would be:

    
    (fieldname1[0]+fieldname1[1])/2
    

    Best regards.

    Thread Starter kirkholmes

    (@kirkholmes-1)

    OH MY GOSH SO SIMPLE!!! Can you add this to the documentation please! I couldn’t find this anywhere! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get Min and Max from Slider Range’ is closed to new replies.