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

    My form has 3 fields: A, B and C. Field C should show the total of A and B but shows nothing if either A or B is empty

    Asked by younger073 on January 01, 2014 at 09:39 PM

    A not key any number

    key 1

    but C not show any Value

    simple addition calculation feature
  • Profile Image
    JotForm Support

    Answered by abajan on January 01, 2014 at 10:12 PM

    Tests I just ran on a form of mine indicate that substituting normal textboxes for the number controls currently used for fields A and B will yield better results but only slightly better, in that if only a zero is entered in A or B, C will show whatever is in the other box. However, just like with the "number" controls, if either box A or B is empty, C will be empty too.

    Our calculation feature is still under development and currently the best way I can think of to achieve the functionality you want would be to copy the form's full source and paste it into the body of a web page along with a script to perform the calculation. We could do the script for you.

  • Profile Image

    Answered by younger073 on January 01, 2014 at 10:19 PM

    okok! thank you very much

    how can i do

  • Profile Image
    JotForm Support

    Answered by abajan on January 01, 2014 at 10:33 PM

    From the screenshots in your other thread about this issue, it appears that your only requirement is that is if just a zero (0) is entered in either A or B, C should show a result and you don't mind if C remains blank if either A or B contains nothing. If that's the case, there's no need to embed the form anywhere. Just deleting fields A and B and replacing them with textboxes will suffice:


    If you would like further help with this, please let us know.


    Thanks