What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Calculation widget not being updated with calculated value from the form

    Asked by HACA on December 22, 2016 at 03:12 PM
    Unfortunately, total amount due (regardless of payment type) fields clear so that the amount due is $0.00.

    Thoughts...

    This is what shows on form before submission

    This is the response:

     

    When attempting to use the PayPal Payment Gateway, amount due is zero so it goes to Thank you page not PayPal. 

    Here is what the report shows, so maybe it something with the initial amounts?

     

     

    Without clearing fields, the amounts and submissions work correctly.

  • Profile Image
    JotForm Support

    Answered by jonathan on December 22, 2016 at 04:03 PM

    The issue has to do with the Calculation widget not being properly updated with the changes on the form.

    I made a test form https://www.jotformpro.com/form/63565691082967 and I used a new Calculation widget.

     

    I setup similar condition to the old calculation widget Reservation Check/Cash

     

    on test submission, the Calculation field now shows the correct result value.

    ---

    To fix the issue,  I suggest updating the form and use a new Calculation widget. Setup the widget to use the same condition rules as what had been done on the original existing widget.

    You can also use the same field name (i.e. Reservation Check/Cash).

    Please let us know if this modification still did not resolve the issue.

    I will also submit this thread to the higher team support to fix the bug why it needs to add a new Calculation widget to make the Update calculation to work.

    Thanks.

     

     

     

  • Profile Image
    JotForm Support

    Answered by NicholasWestley on December 23, 2016 at 01:41 AM

    Hi,

    this is due to the fact that you are using a calculation field that has an equation value of "0.00".  You can fix this by either using a text or numeric field as the target of the update condition or by opening up the condition wizard and deleting the "0.00" equation and leaving it empty.

    Thanks,

    Nicholas

  • Profile Image

    Answered by HACA on December 23, 2016 at 08:18 AM

    Makes sense. I did try to not enter a value in the condition wizard at first, but received an error message to add a value. Thus, I added the "0.00".  However, this explains the odd results of "$0.00.0.00". 

    Interestingly, I just deleted the values from the three calculation wizard fields leaving the fields blank and it now works.

    Thanks,