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.
-
Stack overflow line 225.
Asked by Pawel on April 21, 2011Page URL:
www.abpgraphics.co.uk
contact form problem style size -
Answered by DanielGriffin on April 21, 2011Hi Pawel,
Can you let us know a bit more information about this error please? For example, is it the contact form on your site? Is it occuring in multiple browsers? etc. I can't recreate it myself without more information.
It can occur if there is a clash with two scripts in a page, for example if you are using some jquery code that interferes with the jotform code. Liyam found a possible solution before. Have a look at this post:
http://www.jotform.com/answers/16720-Stack-overflow-on-line-225
Basically you need to include this code in your page to catch the error.
<script type="text/javascript">
function noError(){return true;}
window.onerror = noError;
</script>But this might not be the case in your situation, so any extra information you can provide will be useful.
Thanks,
Daniel
-
JotForm Support
Answered by NeilVicente on April 21, 2011Hi Pawel,
If in any case, Daniel's solution doesn't fix your problem, you may try doing the workaround I stated below.
Instead of using Source as your form's embed code, try using iframe. Doing so will prevent clashes between your jQuery plugins and Jotform's own scripts.
To embed using iframe:
1. Go to Setup & Embed tab
2. Click on Embed Form button
3. In the Embed Form Wizard, choose iframe

4. Copy the codes provided then paste it in your page
Let us know how these solutions work out for you. I, Daniel and other support team members are more than glad to assist you with fixing your problem.
-
Answered by Pawel on April 21, 2011Hi,
First thanks for your answers.
My problem occurs only in Internet Explorer ofcourse. Firefox and Google Chrome works good.
Error occurs only when you are on contact page, where is JOTform made Contact Form and you want to leave that page. What I mean is that when you enter page it is cool but when you want go somwhere else on the page then you get an alert. Also when you try to refresh page.
The method with turning off alerts doesn`t change anything.
I didn`t try yet an iFrame but I will do later. But what about styling?
Best regards -
JotForm Support
Answered by NeilVicente on April 21, 2011Hi,
Please don't take offense but styling does not have anything to do with that error."Stack overflow line 225" is a JavaScript related error message when using Internet Explorer. It is caused by conflicts with multiple scripts in a page, that is why I am asking you to try the iframe method.
Let us know if that solution works for you. Thank you for your cooperation.
Regards,
Neil -
Answered by Pawel on April 21, 2011Please don`t take offence but I think you missunderstood me....
I am not saying that styling actually is a cause of the error. I said that I can`t use iFrame method because I totally restyled my form... when I put iFrame code instead of the script it brakes all design and styling...
Did you have a look on the page where actually that contact form is? at all?
http://www.abpgraphics.co.uk/pages/contact-us -
Answered by Pawel on April 21, 2011Hello again. Sorry for posting again without waiting for response, but I just find out something. In my code I have got this:
<script src="http://cdn.jotfor.ms/jotform.jgz?3.1.110" type="text/javascript"></script>
<script type="text/javascript">
JotForm.init(function(){
JotForm.initCaptcha('input_20');
$('input_20').hint('Type the above text');
});
</script>
If I delete the second script responsible for captcha it is actually fixing the stock overflow issue, but then I am losing captcha. What I mean is, that after that captcha doesn`t show anything, even after pressing refresh button. Do you know how I could change it so captcha would still work and I wouldn`t have two scripts on my page?? -
JotForm Support
Answered by NeilVicente on April 21, 2011Hi,
I apologize for the misunderstanding. I guess I jumped into conclusions without further analyzing the facts at hand. To answer your question, yes, I've taken a thorough look at your site before I posted that is why I knew that you were using Source as your embed code and not Iframe.
Anyway, since you've figured out that it is the Captcha script that's causing the issue, replace the Captcha Script with this:
<script type="text/javascript">
JotForm.init(function(){
JotForm.initCaptcha('input_20');
('input_20').hint('Type the above text');
});
</script>If you would notice, I just removed the ($) dollar sign. Let me know if it is any good.
-
Answered by Pawel on April 21, 2011Hi there,
No problem. It is all right.
Unfortunately it doesn`t help. Still no improvement. -
JotForm Support
Answered by liyam on April 22, 2011Hello,
I've been trying to figure out why is that the pop-up only shows up once you are about to leave the page. I have also been testing your page how to get rid of this pop-up problem.
I guess your solution for now is place your form in an iframe as what Neil had suggested.
Hope this helps.
-
Answered by thomforms on February 09, 2012I am having the same problem and none of the suggested work arounds work.
-
JotForm Support
Answered by mliz on February 09, 2012@thomforms
Can you post the url where the form is embeded so that we can do further investigation on what might be causing this error.We'll await for your response.
-
Answered by thomforms on February 09, 2012Here you go: http://www.conexio.com/ It works fine in IE 9.0. and of
course Chrome. However, receiving complaints on IE 8.0.
Sincerely,
*Thomas Davidson*
*[image: systems logo_Signature.jpg]
*
**
O: 513.977.4544 | M: 513.604.9599
thom.davidson@productivity.rippe.com
*CONFIDENTIALITY NOTICE:* This e-mail transmission, and any documents,
files or previous e-mail messages attached to it may contain confidential
information that is legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or use of any of the information contained in or attached to
this transmission is* STRICTLY PROHIBITED*. If you have received this
transmission in error, please immediately notify the sender. Please destroy
the original transmission and its attachments without reading or saving
same in any manner.
-
JotForm Support
Answered by liyam on February 09, 2012May we know which part of your website is running jquery? Based on my observation, your javascript libraries (jquery.js and script.js) are conflicting with the feedback form in your webpage. So it would be better to opt these libraries out if the browser used is IE8 and lower if you are not using these.
Here's an example of the code to prevent the script loading on browsers IE 8 and below:
<!--[if gte IE 9]>
<script src="http://www.conexio.com/jquery.js" type="text/javascript"></script>
<script src="http://www.conexio.com/script.js" type="text/javascript"></script>
<![endif]--> -
Answered by thomforms on February 09, 2012BEAUTIFUL!!! Works like a charm.
Sincerely,
*Thomas Davidson*
*[image: systems logo_Signature.jpg]
*
**
O: 513.977.4544 | M: 513.604.9599
thom.davidson@productivity.rippe.com
*CONFIDENTIALITY NOTICE:* This e-mail transmission, and any documents,
files or previous e-mail messages attached to it may contain confidential
information that is legally privileged. If you are not the intended
recipient, or a person responsible for delivering it to the intended
recipient, you are hereby notified that any disclosure, copying,
distribution or use of any of the information contained in or attached to
this transmission is* STRICTLY PROHIBITED*. If you have received this
transmission in error, please immediately notify the sender. Please destroy
the original transmission and its attachments without reading or saving
same in any manner.
-