File not found error in the console for event.jotform.com when embedding the form using JS, Lightbox and Feedback method

  • shanlee
    Asked on March 24, 2015 at 10:20 PM

    Hi,

    While my form is currently working off my website being developed, when I audit the page I get this error message:

    GET file://events.jotform.com/jsform/50395077146256 net::ERR_FILE_NOT_FOUND

     

    Do you know why I'd be getting that message? Below is the code I've pasted in my <head> to open the form in a lightbox. It's the code that was generated for me. I don't have any other files from jotform included with my sitefiles.

    <script src="//d2g9qbzl5h49rh.cloudfront.net/static/feedback2.js?3.2.5314" type="text/javascript">

    var JFL_50395077146256 = new JotformFeedback({

    formId:'50395077146256',

    base:'http://jotform.ca/',

    windowTitle:'Mini Contact Form with CSS3',

    background:'#5a6673',

    fontColor:'#FFFFFF',

    type:1,

    height:500,

    width:700,

    openOnLoad:false

    });

    </script>

     

    I also keep getting an error message on the last </script> tag that states: The text content of element script was not in the required format: Expected space, tab, newline, or slash but found v instead. </script>

     

    Any help is appreciated!

  • shanlee
    Replied on March 24, 2015 at 10:44 PM

    I just found a possible explaination, but I'm no less confused. 

    I built my form on jotform.com, when I go to jotform.com the form is there. The generated code I received gives me a base of http://jotform.ca/ …not .com.

    When I go to jotform.ca and click "my forms," I don't have any listed.

    I attempted to just change the base (in the script code) to jotform.com, but I still get the same "file not found" message. (Screen shot attached).File not found error in the console for event Screenshot 20

     

  • Welvin Support Team Lead
    Replied on March 25, 2015 at 6:59 AM

    Hi,

    Please let us know where you have embedded the form so we can further check. 

    The form domain is generated based on your location. You are in Canada so we use jotform.ca for your forms. When you go to jotform.ca, you have to login again in order to view your forms.

    I look forward to your reply!

    Thank you!

  • shanlee
    Replied on March 25, 2015 at 12:06 PM

    The form has been embedded in the <head> section. I had previously embedded it right after the <body> tag, but I moved it to the head to see if I could get rid of an error message regarding the closing </script> tag. It didn't end up making any difference and there is still the same error message, "The text content of element script was not in the required format: Expected space, tab, newline, or slash but found v instead. </script>"

    I see the form now under the .ca domain – thanks.

    I've attached a screen shot of my <head> section:

    File not found error in the console for event Screenshot 20

  • Welvin Support Team Lead
    Replied on March 25, 2015 at 1:26 PM

    You have to embed the form in the body section of your website. But I just re-check it and have to wait for about a few seconds to get the error. I was able to replicate it now, the error will appear only when you embed the form using the default JS method, the Lightbox and Feedback. Here's a screenshot:

    File not found error in the console for event Screenshot 20

    I have now submitted this thread to our developers so they can check and investigate further. IF there are updates, you should know it via this thread.

    For now, you can leave it that way. As far as I noticed, it's not affecting any of the form function and the form can still be submitted.

    Thank you for reporting!

  • liyam
    Replied on March 26, 2015 at 9:40 AM

    Hello shanlee,

    Looks like the bug has already been fixed. Can you please verify this from your end?

    Thanks.

  • Ashwin JotForm Support
    Replied on March 29, 2015 at 11:43 PM

    Hello shanlee,

    Thank you for confirmation. Your message has reached the assigned developer. We will get back to you as soon as we have any update from him.

    Thank you!