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

    Form freezes after clicking the submit button when Matrix table has validation errors

    Asked by PeterBishop on September 01, 2015 at 11:55 PM
    I may have had a hyphen or a comma slip in there by mistake. I noticed that the boxes turned red, but I kept on going because I didn’t know what that mean. I didn’t see the warning until I scrolled down to submit. After that, the form froze.
  • Profile Image
    JotForm Support

    Answered by Charlie on September 02, 2015 at 01:06 AM

    Hi,

    I was able to replicate the problem in my end by cloning your form.

    But I'm still unable to identify which one is causing this, my current assumptions are because of the length and number of matrix fields. But let me make more further tests and see if I can find the bug and if it needs to be forwarded to our developers.

    Apologies for the inconvenience.

  • Profile Image
    JotForm Support

    Answered by Charlie on September 02, 2015 at 03:58 AM

    It seems like the delay and the freezing of the form is related to the long matrix fields that you have.

    I cloned it to make further tests, here's how I replicated the problem: First, clicking the submit button once won't be a problem (in my end), but double clicking the submit button will cause the freezing. 

     

     

    Here's one of the edited cloned form I have, I removed the last two long matrix fields: http://form.jotformpro.com/form/52441431755957?. In this case, when you input an invalid value like "-", the validation error will show up, when you click the submit button twice there's a delay, but it will eventually return to the normal state without submitting or freezing.

    The problem seems to be related to the multiple number of long matrix fields with validation function on it.

    I have forwarded this problem to our developers, we will update you on this thread as soon as the problem has been resolved.

    Apologies for the inconvenience.

  • Profile Image

    Answered by Peter Bishop  on September 02, 2015 at 11:22 AM

    Thanks for your good work.

    Two questions --

    1) Is it possible to unfreeze the form from your end?

    2) Is it just the number of fields that causes the input error and the freeze or the number of fields when an incorrect value is entered?

    And you asked about suggestions --

    1) I saw the color change so the intensity of the color is not the problem.  I just didn't know what it meant.

    2) So one suggestion would be move the error message onto the screen, if that's possible, rather than to the end of the form.

    3) Another suggestion might be to disable inputs right away so the user will start looking around and find the error message.

    At any rate, thanks for taking the time to resolve this issue

  • Profile Image
    JotForm Support

    Answered by Charlie on September 02, 2015 at 01:13 PM

    Hi,

    Regarding your follow up questions.

    1) Is it possible to unfreeze the form from your end?

    I believe this is a bug, the form shouldn't act or freeze even having quite a number of inputs in a matrix field. Unfortunately, what we can do right now is wait for the developers to fix it, unless you'll edit the form, you can try making a different approach.

    2) Is it just the number of fields that causes the input error and the freeze or the number of fields when an incorrect value is entered?

    I'm not quite sure which is causing the problem, but based from my tests, the number of inputs in a matrix field is contributing to the time duration that needed when the validation is being done in the back end. Let's say you have 5 matrix fields with 200 inputs on each one, when one input has an error, initially it will be highlighted as red. Other than that, when you click the submit button, there's another back end code that will try to check if everything is okay, and because there are a lot of fields, it takes time and there's also an initial error. 

     

    For now, you can try cloning your form and make some test changes or edits on it. At least that will give you an original copy as a backup. We will update you on this thread as soon as the problem has been resolved. Again, apologies for the inconvenience.

     

    For the other concerns or suggestions that you have, I went ahead and opened a separate thread for it, that would help us better assist you and focus on one topic at a time. Please refer to the following links:

    http://www.jotform.com/answers/653604 

    http://www.jotform.com/answers/653607 

    We will address them shortly.

    Thank you.

  • Profile Image

    Answered by PeterBishop on September 03, 2015 at 06:45 PM
    OK, it might the time it takes to error check the whole table. I’ll watch out for that.

    But it’s moot now because the data has disappeared from that form. I’ll re-enter. My bad! ;-)



    ----
    "We teach the future as we do the past.”
    Peter C. Bishop, Ph.D., APF
    Teach the Future.org
    HoustonFutures.org
    281/433-4160
    Houston TX USA

    ...
  • Profile Image
    JotForm Support

    Answered by Charlie on September 04, 2015 at 01:34 AM

    No worries, thank you for understanding. I see that the report ticket has been assigned to one of our developers, my findings and test samples to replicate the problem is also attached on the said report.

    We will update you on this thread as soon as the problem has been resolved.

    Apologies for the inconvenience.