Hidden Page Break through condition quickly flash during page load before it completely disappears

  • Profile Image
    d_lane
    Asked on June 07, 2016 at 02:41 PM

    So if you go to one of my forms the page break loads first on my for then disappears before the form loads. This happens when I preview the form and on my wix site (which isnt live yet) any help with this would be great.

  • Profile Image
    Kevin_G
    Answered on June 07, 2016 at 04:31 PM

    I don't think this is a bug, I have tested your form and I could see the same, the page break loads first and disappears quickly: 

    The same is happening on a cloned form I made: 

    Here is the link if you want to take a look: https://form.jotform.com/53376735783973 

    This is because you're hiding the page break buttons with conditions so it loads it that way, I mean all the resources and scripts loaded when you load a form are loaded in an order, then this may be some of the reasons why you notice that page breaks button are showing quickly.

    The order to load all your form is like this: 

    First load all the HTML content, for example, it loads all the fields and all that does not need scripts, then it loads all the resources, scripts, style sheets and other contents that the form needs to work properly, the last step is when all this is applied, so this is why you see this behavior in your form. 

    Here are also some links where this is detailed: http://andydavies.me/blog/2013/10/22/how-the-browser-pre-loader-makes-pages-load-faster/ 

    http://stackoverflow.com/questions/1795438/load-and-execution-sequence-of-a-web-page

     

  • Profile Image
    d_lane
    Answered on June 07, 2016 at 04:54 PM

    I need this to be corrected. I have css that makes the form appear smoothly. Could this be causing the issue? Maybe the delay..? But this is very important. I dont have the knowledge to do it myself. Please help

  • Profile Image
    EltonCris
    Answered on June 07, 2016 at 06:01 PM

    I have forwarded this to our developers for further investigation. I believe this is some kind of a performance issue when fields are used with conditions during form load. I know there were fixes made on this for all the fields but it doesn't seem to be applied on the page break field.

    You will be informed here once this is fixed.

  • Profile Image
    d_lane
    Answered on June 07, 2016 at 06:09 PM

    ok thanks