My form cannot be submitted if a required field is missed but is then filled in

  • thatlistlady
    Asked on November 7, 2017 at 2:06 PM

    Hello,


    I am working on form https://www.jotform.com/build/13141915279 and if someone misses a required field and submits, they cannot submit their form after filling in the missing information. The submit button only displays "Please wait..." even after filling in all of the required fields. I am using the javascript embed code. I have cleared my form cache. I am using chrome, and I have javascript enabled in my browser. I am getting this error in the console:

    request_quote.php:139 Uncaught TypeError: Cannot read property 'scrollTo' of undefined

        at HTMLIFrameElement.onload (request_quote.php:139)

        at FrameBuilder.createFrame (13141915279:1)

        at FrameBuilder.init (13141915279:1)

        at new FrameBuilder (13141915279:24)

        at 13141915279:25"

    When I click to see the error in the sources tab, the embed code is all that is highlighted (<script type="text/javascript" src="//form.jotform.us/jsform/13141915279"></script>)

    Any help solving this issue would be greatly appreciated!

    Thanks,

    Crawford

    Jotform Thread 1292780 Screenshot
  • BJoanna
    Replied on November 7, 2017 at 3:12 PM

    I inspected your webpage and I saw some other script codes that are related to JotForm. 

    1510085305script Screenshot 10

    Was the form previously embedded with the full source code? Maybe you did not remove all codes that you previously added. Please remove them and test your form again.

    You can also try to re-embed the form with the iFrame code:

    Getting the Form iFrame Code

  • thatlistlady
    Replied on November 7, 2017 at 3:31 PM

    That did the trick, thanks so much!!!