Calculation using Conditional Logic: Total must not be above 30

  • Lindsay
    Asked on April 25, 2024 at 12:06 PM
    I created a survey using the Sliders with Calculated Result widget, and I would like the total number of allowed "votes" to equal 30. What formula can I use to achieve that? No matter how many sliders I have, the total cannot go above 30. Thank you!


    Jotform Thread 14265641 Screenshot
  • Kenneth JotForm Support
    Replied on April 25, 2024 at 12:56 PM

    Hi Lindsay,

    Thanks for reaching out to Jotform Support. I’m sorry that this is happening. We can employ conditional logic to handle your calculations effectively. Let me show you how:

    1.  In Form Builder page, select Build located at the top orange menu bar.
    2. Navigate to the left, select Add Form Elements.
    3. Under the Basic Tab, select the Short Text Field and drag it in your form. Calculation using Conditional Logic: Total must not be above 30 Image 1 Screenshot 70
    4. Now, click on Properties(Gear Icon)
    5. Under the Advance Tab, Enable the Hide Fields to make the field hidden(Optional). Calculation using Conditional Logic: Total must not be above 30 Image 2 Screenshot 81

    Let's proceed by applying Conditional Logic for the computation.

    1. In Form Builder page, select Settings located at the top orange menu bar.
    2. Navigate to the left, select Conditions and select Add Condition.Calculation using Conditional Logic: Total must not be above 30 Image 3 Screenshot 92
    3. Now, select Update/Calculate Fields. Calculation using Conditional Logic: Total must not be above 30 Image 4 Screenshot 103
    4. Add the Conditions illustrated below.
    5. Finally, click on Save. Calculation using Conditional Logic: Total must not be above 30 Image 5 Screenshot 114

    Take a look at the screenshot below to see my results: Calculation using Conditional Logic: Total must not be above 30 Image 6 Screenshot 125 Feel free to check my clone form.

    Give it a try and let us know how it goes.

 
Your Answer