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

    An error with credit card details removes entered data from the form

    Asked by eaguiar on September 16, 2016 at 08:18 AM

    I have a long form that ends up in payment. I am making some purchases with my own card. The first one when ok. The second one gave an error i dont know if i entered data incorrectly but instead of letting me try again o enter data of another card, it takes me to the begininng of the form and completly empty!

    Page URL:
    https://www.transfergrancanaria.es/en/book

    credit card
  • Profile Image
    JotForm Support

    Answered by Boris on September 16, 2016 at 11:02 AM

    Your form 62503851033346 is integrated with Stripe payment field, which means that payments are to be processed by your payment processor of choice - Stripe. Our form does check if the entered credit card number is valid before the submission is made, and alerts you / your users of the error:

    However, if there is some other error in your entered details, such as incorrect CVC or expiration date, this can only be determined by the payment processor (Stripe) when the payment is being attempted. This means that our form cannot know in advance if all of your entered credit card details are correct, but only finds it out when a submission is being made.

    For security reasons, your payment form must by default clear its values upon attempting the payment. If you want to override this default behavior, I would recommend changing two options in your form, both of which are accessible through the Preferences button:

    Please switch to the Advanced tab of Preferences, and then (1) make sure Continue Forms Later is Enabled:

    After that, please click on the Show More button, and (2) set Clear Hidden Field Values to Don't Clear:

    This will make sure to retain any entered data for your user upon encountering a payment error, except for the credit card details they have entered - this data mus always be re-entered by the user.

    Please let us know if you need any further assistance after that. Thank you.