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

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

    Asked by shanlee 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!

    file not found event.jotform.com lightbox feedback embed
  • Profile Image

    Answered by shanlee 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).

     

  • Profile Image
    JotForm Support

    Answered by Welvin on March 25, 2015 at 06: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!

  • Profile Image

    Answered by shanlee 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:

  • Profile Image
    JotForm Support

    Answered by Welvin on March 25, 2015 at 01: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:

    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!

  • Profile Image
    JotForm Support

    Answered by liyam on March 26, 2015 at 09:40 AM

    Hello shanlee,

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

    Thanks.

  • Profile Image
    JotForm Support

    Answered by ashwin_d 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!