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

    I am getting Stack overflow error on line 225.

    Asked by sivasathi on March 07, 2012 at 05:31 PM

    This issue occured in IE8 and its working fine in FF, chrome and IE9. We are using Jquery in our site and we cant use iframes because of the defined template. The error occures when i hit the submit button. Please help to solve the issue. Thanks

    Page URL:

  • Profile Image

    Answered by fxr on March 07, 2012 at 06:12 PM

    This is caused by some existing code on your website conflicting with JotForm code. 

    There is really no easy way to fix bar using an iframe, why is that not possible? 

  • Profile Image

    Answered by sivasathi on March 07, 2012 at 07:48 PM

    Thanks for your response,

    We are using CQ as front end to create contents and we are following standard templates to create the pages. So I thought it would lead us to create specfic template for using iframes. I am sorry if I am wrong :(

    As you said its beacuse of existing code, can it be jquery code?, Because we are using jquery

    One more information, its not appearing in all systems. I checked in other system with IE8 and it didnt show any alert box or error. 

    If you are suggesting to creat the forms using iframe, then how i can implement that? whether it will solve the problem.

    Please provide your thoughts. Thanks

  • Profile Image

    Answered by fxr on March 07, 2012 at 08:05 PM


    Yes, I am all but certain that its the existing jQuery code on your webpage that is causing the problem. We see this issue with JotForm forms quite a lot. For some reason the bug sometimes appears in IE8 but no other browsers. It is odd. 

    Putting the form into an iFrame will fix this because its keeps your jQuery script and the JotForm javascript seperate. 


    Having had look at your webpage again, I see its a lightbox JotForm form that you are having this trouble with.

    I will work on a CSS based lightbox solution in which you can place your form in an iFrame to stop this script error. Leave it with me until tomorrow and I will get you some code that you can use instead of the form embed code that you are currently using. 

  • Profile Image

    Answered by fxr on March 08, 2012 at 06:30 AM


    Here is the code you need to open an iFrame form in a CSS based lightbox which will bypass any javascript conflicts.


    Remove your current JotForm embed code. 

    Then copy and paste the code here into your webpage, placing it just before your closing </body> tag, as shown below:


    You will then need to edit the link that opens the form to this:

    <a class="lightbox-20576523929158" onclick="JotForm_Show();" style="cursor:pointer;"><strong>Click here to upload your work. You will be asked to submit a brief description along with your project.</strong></a>



    If you want to see what the final result looks like before adding the code, I have made a basic clone of your webpage here which shows the effect.

    If you want any other tinkering done with the effect, let me know before you go to the trouble adding this new code. 


  • Profile Image

    Answered by sivasathi on March 08, 2012 at 11:50 AM

    Thanks a lot for your response and code. I will take a look on this and let you know how it goes.

    Thanks Again!!!

  • Profile Image

    Answered by fxr on March 08, 2012 at 12:18 PM

    You are very welcome. 

    Let us know if you get stuck adding the code to your webpage. 

  • Profile Image

    Answered by sivasathi on March 15, 2012 at 12:53 PM


         Still I am getting JS error on my page, but unforunately i didnt implement the change in Production, i just implement in my test environment, so i cant provide a url to you which you can access. I am getting the below error,

    Webpage error details


    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8)

    Timestamp: Thu, 15 Mar 2012 16:51:29 UTC



    Message: 'handler' is null or not an object

    Line: 548

    Char: 42

    Code: 0

    URI: http://jotform.us/min/g=feedback


    Still i am getting the stack overflow error.

  • Profile Image

    Answered by fxr on March 15, 2012 at 01:16 PM

    We cant really troubleshoot this without a URL.

    But I see, you are still using the standard JotForm lightbox code: 

    URI: http://jotform.us/min/g=feedback

    If you put my code in, I know your lightbox wont be responsible for the stack overflow message. 

    I have offered that solution to other users many times before.