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

    Syntax error message from Dreamweaver

    Asked by num1dgh on December 17, 2016 at 08:05 PM

    When I copy and paste the code into Dreamweaver, I keep getting an error saying there is a syntax error and the code hinting may not work until I fix the error. Please advise. This is the first time I've seen this error on code from Jotform. It is on the form Ladies' League.

     

    Help! 

     

    Thanks,

     

    Cathy Lamb

    Page URL:
    http://http://cjlmobilemarketing.com/LadiesClub/contact.html

    Screenshot
  • Profile Image
    JotForm Support

    Answered by liyam on December 17, 2016 at 09:53 PM

    Hello Cathy,

    It's possible that it's not recognizing the coding syntax when the code is compressed to be on a single line. You can try formatting the code like this:

    <script type="text/javascript">
    JotForm.init(function(){ 
    JotForm.initCaptcha('input_7'); 
    $('input_7_reload').observe('click',function(){ 
    JotForm.reloadCaptcha('input_7') }) 
    JotForm.clearFieldOnHide="disable"; 
    JotForm.onSubmissionError="jumpToFirstError"; });
    </script>

    It should stop showing the syntax error on Dreamweaver.

    If you have questions, please let us know.

    Thanks.