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

    Make the lightbox form W3C valid

    Asked by Stephen on October 30, 2013 at 04:50 PM

    employment link at bottom of page - test page

     

    ErrorLine 130, Column 12: The text content of element script was not in the required format: Expected space, tab, newline, or slash but found n instead. });</script><a class="lightbox-11014249601" style="cursor:pointer;color:#64313a…
    Syntax of script documentation:Zero or more code comments, each of which is either a single-line comment starting with "//" or a multi-line comment starting with "/*" and ending with "*/". The content must also meet the constraints of the script microsyntax. For further details, see Inline documentation for external scripts.

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.petshanty.com%2Femployment.html&charset=%28detect+automatically%29&doctype=Inline&group=0

    If there is a way just to clear it up, that would be great.. thanks!

     

     

    Page URL:
    http://www.petshanty.com/employment.html

    style format check png
  • Profile Image
    JotForm Support

    Answered by EltonCris on October 30, 2013 at 06:24 PM

    Hi there!

    Try the following fix.

    Instead of 

    <script src="https://static-interlogyllc.netdna-ssl.com/static/feedback2.js?3.1.409" type="text/javascript">

    new JotformFeedback({

    formId:'11014249601',

    base:'https://secure.jotform.com/',

    windowTitle:'Employment',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    Replace it with this:

    <script src="https://static-interlogyllc.netdna-ssl.com/static/feedback2.js?3.1.409" type="text/javascript"></script>

    <script type="text/javascript">

    new JotformFeedback({

    formId:'11014249601',

    base:'https://secure.jotform.com/',

    windowTitle:'Employment',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700

    });

    </script>

    **Base on my research, script with src tag can only contain whitespace or comments. This is the reason why, but can you can freely separate them as seen above to counter the error.

    Thanks!