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

    Allowing people to submit the form when cash or check payment is selected

    Asked by mushkag on April 06, 2017 at 12:17 PM

    On my form I'd like to give people the choice to pay by credit card online or by check/cash at the event. I set a condition that the payment gateway (with authorize.net) should only show if they choose the pay by credit card option, but it's not letting people submit the form with pay by check/cash if they don't fill out the credit card info. Is there a way to fix it?

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Welvin on April 06, 2017 at 01:30 PM

    Setting up the "Clear Hidden Field Values" to Clear on Being Hidden should fix the problem.

    Settings > Form Settings > Show More Options > Clear Hidden Field Values:

  • Profile Image

    Answered by mushkag on April 06, 2017 at 03:24 PM

    That didn't work. After submitting it still says error credit card required.

  • Profile Image

    Answered by KadeJM on April 06, 2017 at 04:51 PM

    I believe I have found the cause of this problem.

    You have the Authorize.NET Payment Integration on your form set up to pull cost from the " Total Cost " field that is generated from your chosen date spots offered.

    The problem with this is that even though a user might opt to select to pay with check/cash the value for that is actually still going there and therefore Authorize.NET thinks that the customer is using it so this is breaking your form and requiring it.

    One way around that problem would be to set up another condition to include or exclude the value if it's empty or not needed and that would allow your form to submit properly.

  • Profile Image

    Answered by mushkag on April 06, 2017 at 06:25 PM

    That makes sense. I tried to fix it by making a condition that if the payment method field is equal to cash/check then disable credit card information, but it still has the same problem as before. How do I set it to exclude that value when it's not needed?

  • Profile Image
    JotForm Support

    Answered by Mike on April 06, 2017 at 09:17 PM

    The problem is related to the Inventory widgets which forcing the calculations once again upon the form submission.

    I have re-worked your form using an additional field for credit card total based on conditional logic.

    You can re-check the form now.

    It is also recommended to add Question Text description to your Inventory widget fields. Otherwise, the question titles will be empty in submission data and emails.

  • Profile Image

    Answered by mushkag on April 06, 2017 at 09:45 PM

    Thanks so much! It works perfectly now. Also, thanks for pointing out about the question text, that would have caused some confusion.