Support » Plugin: Calculated Fields Form » calculation with Predefined Min and Predefined Max slider

  • Resolved aichamomo



    I’m using Calculated Fields Form plugin.

    I want to multiply the 2 values that are part of field “Range Slider” containing Predefined Min and Predefined Max with the value of field “Slider” containing only 1 value.

    For example:
    the minimum is 2 and the maximum is 5 (field1 = Range Slider with 2 values).
    And I want to multiply by 3 (field2 = Slider with 1 value).
    Calculation = 2*3=6 and 5*3=15.
    RESULT = 6 and 15 (field3 = calculated Field).

    How do I get the results 6 and 15 in the field type “Calculated Field” ?
    I have tried already calculation field1*field2 but it’s not working. No result appears in the box of field3.

    The visitors/users will be able to adjust the minimum and maximum values with the range slider of field1 as well as the value of slider of field2.
    My website is still in mode “Coming Soon”.

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople


    Hello @aichamomo

    The sliders can be configured as simple sliders with only a value at once, or range sliders with an array of values.

    So, if your fieldname1 is a range value, you can configure the equation as follows:

    CONCATENATE(fieldname1[0]*3,' and ', fieldname1[1]*3)

    As you can see above, I’m referring to the field’s value as fieldname1[0] for the low range value and fieldname1[1] for the high range value.

    Best regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.