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

    Calculated Stripe total removed upon submission; Required Field error

    Asked by eileenjst on August 22, 2016 at 04:55 PM

    I have a form that has a required 'checkbox' field, "choose a session", with 4 different sessions. Each session is set with a value of $20.

    In a 'hidden' 'Pre-cost' calculation field, I have setup so the cost is calculated for these.

    If all 4 sessions are selected, a hidden 'Discount' field is displayed, with a checkbox of $5 discount.

    The amount is then re-calculated in the second calculation field' Final Cost', which is the displayed as 'Final Cost'.

    The total Final Cost amount is passed to Stripe. The calculations produce the correct amount. The correct amount is passed to the stripe product display, however, when I click submit, the amount goes to '0' during the submission and I get an error page that says the required 'Choose a session' field is not selected. When I return from the link on the page to the form, all other data is still present but the 'Choose a Session' and the calculations are blank.

    I am in test mode at this time, but I've used test mode before without this problem.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Kiran on August 22, 2016 at 07:38 PM

    This thread seems to be a duplicate thread to https://www.jotform.com/answers/912776 which was already addressed by one of our colleagues. If you have any questions with this issue, we request you to follow-up on the other thread.

    If you are referring to something different, please let us know. We will be happy to help.