Why calculation on my form is incorrect?

  • sisters7
    Asked on March 16, 2017 at 1:38 PM

    https://www.jotform.com/submissions/70212365908151

     

    Please take a look at our last submission, first name Lydia, she selected 2 for celebration dinner. The math only included 1 dinner, not two dinners. Total balance due is short of $32.00.

     

  • Kevin Support Team Lead
    Replied on March 16, 2017 at 4:02 PM

    I've checked the submission you mentioned and filled out your form exactly like the submission, I got the same result. 

    Why calculation on my form is incorrect?  Image 1 Screenshot 40

    However, do note that there's a quantity drop down empty  on the submission, it seems to be important for the calculation and this may be the reason why you see a different value than the one you should get. 

    Why calculation on my form is incorrect?  Image 2 Screenshot 51

    If the drop down needs to be filled out to properly process the calculation, then you will need to set it up as required, the field will not trigger the required alert if it's hidden, and you could alse set it as required with conditions: 

    Why calculation on my form is incorrect?  Image 3 Screenshot 62

    Setting the condition the same way as you're showing the field will be enough to get it working, on certain selection, show and require the field. 

    Hope this helps.