Embedded form not going to next step

  • Willowpark
    Asked on April 1, 2015 at 2:51 AM

    Hey guys, we have an embedded form at http://www.willowpk.org.nz/page/Leaders_Rego/ and the 'next' button doesn't work part of the time. Sometimes it works, and from what I've seen it works every time the following is posted to the console log "Debug : setting height to  2457  from iframe jotform.forms.js?3.2.6374:214", but if that doesn't show in the console log it doesn't work. Any ideas?

     

    Cheers
    Damien
    Web Developer || Willow Park

  • Ashwin JotForm Support
    Replied on April 1, 2015 at 10:52 AM

    Hello Damien,

    I'm sorry for the trouble caused to you.

    I did check your web page where you have embedded your form and it seems to work as expected. I tested it multiple times and most of the time, the next button including the validation seems to work just fine but yes few times the next button was not working. 

    I believe it is caused because of some code conflict between form and other code available in your web page. I would suggest you to embed your form using its iFrame embed code and that should most likely solve your problem. The following guide should help you grab your form's iFrame embed code:  http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    Hope this helps.

    Do get back to us if the issue persists.

    Thank you!

     

  • cont3nt
    Replied on May 5, 2015 at 11:01 PM

    This is actually a problem we've been having as well recently (it has not happened in the past). This is an issue that occurs for random machines but not usually the machines of the developer or the one logged into jotform - but multiple users have reported it.

     

    Occurence:

    The form will fail to load and prevent loading of the page and the page will freeze in loading mode. If you refresh the page the page will usually reload and never reoccur (which makes it very difficult to test for). But that initial visit is a huge problem because users never refresh and will never come back to a broken page.

     

    The error that appears is:

    Failed to load resource: the server responded with a status of 404 (Not Found)

    jotform.forms.js?3.2.7009:215 Debug : setting height to  1199  from iframe

    (the height value will vary with the form)

    Trouble-shooting: 

    We first thought it was a server issue, but it is a jotform issue having to do with dynamically trying to set the height of the iframe. This happens both when using the JS and the IFRAME embed code. It is an issue that is hard to replicate on developer's machines, but many many people have reported it.

    This has happened on multiple forms and on multiple sites and we are not seeing any conflicts with other normal code (google analytics and jquery are the only other things running). Please let us know what we can do.

    It took a while to narrow this issue down and has been very frustrating - but it is almost certainly the Jotform script. 

     

    Example page that's having the issue: 

    foto hires dot com / bookaprofessional dot html

     

    Please help - or we can never use Jotform again.

  • Ashwin JotForm Support
    Replied on May 6, 2015 at 12:12 AM

    Hello cont3nt,

    It seems you have created one another thread for the same issue and we will answer you in the following thread:  http://www.jotform.com/answers/564783-Jotform-script-error-preventing-page-load#0 

    Thank you!