How to input calculation values

  • Profile Image
    allglassweb
    Asked on October 12, 2022 at 09:59 AM
    Good day, a doubt, can you enter values in the selectors in dynamic mode? example: in this reference: https://www.crystalglassny.com/Store/Glass-Products. In phase 3 if I have selected 1/8 and the default option Seamed Edge the cost is 33.30. When changing for example to Flat Polished Edge the total cost is 33.78, so I assume that this option would cost 0.48. Now if I change to 1/4 the total cost is 39.54, I assume according to the subtraction that 1/4 costs 6.22 with default values. If I change to Flat Polished Edge, the cost would be 40.48 so I assume that there Flat Polished Edge costs 0.96 and not 0.48, then I can update that cost in the part where the values are entered for calculations according to the option chosen or just put the value in the equation?


    1665578198_6346b4d673b66_


    1665578236_6346b4fc29325_


    and:


    1665578267_6346b51b2487e_


    after:

    1665578316_6346b54c1b056_


    but:



    1665578369_6346b58146d3d_


    and:


    1665578398_6346b59e80a8f_

    with:

  • Profile Image
    Eiron_O
    Answered on October 12, 2022 at 10:25 AM

    Hi allglassweb,

    Thanks for reaching out to Jotform Support. Yes, you can input calculation values for calculation. we have a guide for that here. If you're trying to achieve a specific calculation, you can check this guide on How to Perform Form Calculation Using a Widget. Also, since you'll be using calculate field conditions, you may want to know How to Insert Text or Calculation into a Field Using Conditional Logic.

    Let us know if you need any more help.

  • Profile Image
    allglassweb
    Answered on October 12, 2022 at 11:53 AM

    https://www.jotform.com/help/301-how-to-assign-calculation-value/#:~:text=go%20to%20the%20options%20tab,calculation%20values%20for%20each%20option.


    This article explains it manually, my question is if I can do it dynamically through a condition?



  • Profile Image
    Waqas
    Answered on October 12, 2022 at 12:10 PM

    Hi allglassweb,

    Thanks for reaching out to Jotform support. To accomplish your goal, you must manually add a few conditions to your form. If you are having problem in it don't hesitate to reach out again.

    Give it a try and let us know if you need any other help.

  • Profile Image
    Jovanne
    Answered on October 12, 2022 at 01:00 PM

    Hello allglassweb,

    Unfortunately, you cannot assign the calculation values dynamically based on condition. To achieve your requirement, you can directly add the values to the Calculation Formula. This guide will show you how to do that.

    Let us know if you have any other questions.

  • Profile Image
    allglassweb
    Answered on October 12, 2022 at 04:57 PM

    Now can I make nested conditions?

  • Profile Image
    Carlo
    Answered on October 12, 2022 at 07:10 PM

    Hi allglassweb,

    Keep in mind that it is not possible to make nested conditions with your current requirement. However, you can create two separate calculation widgets, then apply them for the show/hide conditional logic.

    Give it a try and let us know if you need any other help.