- sportzgamesAsked on April 10, 2011 at 12:21 PM
After cloning a form from one of my existing forms, I add the source code (I do not embed) to a web page and now none of the hover text and required filed warnings work on the cloned file after I upload it. When I view the page, it says "Done, but with errors" in the bottom left corner of my web page, which makes me think that's why they are not working. I do not get this error with the originals of this page and I have made no changes to this new form after cloning (at this point) other then putting the new code on a different web page. After clicking on the error, it says "Jotform undefined, Line 40, Character 4" which tells me it is the form and not my web page. I don't see how cloning a file, leaving it exactly as the original other than putting it on a different web page gives one an error and one no error. Can you tell me what I might be doing wrong and how to correct it? Thanks
- allanftdAnswered on April 10, 2011 at 01:23 PM
We apologize for the inconvenience. May we ask for the URLs of the websites where the original form ahd the cloned form are currently embedded? If they're not yet embedded on the live website, please provide the form name of the original and the clone forms.
We'll await your response. Thank you for using JotForm!
- sportzgamesAnswered on April 10, 2011 at 06:47 PM
Here are the 2 links
This one is the original: http://www.fantasysportzgames.com/NHLPlayoffs/nhlplayoff_rd1picks.html which works fine and has no errors when going to the page
This is the cloned one: http://www.fantasysportzgames.com/NBAPlayoffs/nbaplayoff_rd1picks.html. The hover text and the required fields do not work on this one. Notice the lower left hand corner of the browser that says "done but with errors". Click on the yellow triangle and it tells you what the error is.
Thanks for your help.
- JotForm SupportabajanAnswered on April 11, 2011 at 07:09 AM
For what it's worth, from what I can tell, this problem is specific to Internet Explorer. Nevertheless, it is important to solve because many people use that browser.
The Online Lint reported just one error in each instance (on line 128): html error: missing quotes on src attribute
Hopefully these findings help to zero in on what is generating the error.
- sportzgamesAnswered on April 11, 2011 at 09:34 AM
So no suggestions on how to fix this problem?
I'm also not sure how this can be an IE problem with my other forms work fine in IE. And since I cloned the files exactly while making no other changes, how can one work and the other one not work if its an IE problem? I'm not an expert on coding, but I know enough about it to know that something is happening in the jot form code while cloning to cause these errors.
- sportzgamesAnswered on April 11, 2011 at 09:39 AM
Also, this error only happens when I enter the "source code" link into my web page. When I embed the code into my webpage, I don't get this error either. Another reason why I don't think its an IE issue.
I don't have a problem embedding, but it makes life alot easier if I can just use the source code link which allows me to make changes to the form on the fly without embedding every time.
- JotForm SupportNeilVicenteAnswered on April 11, 2011 at 03:25 PM
The error has something to do with Jotform's script. I see that this only happens when using IE, as IE is less tolerant to errors. I found this difference between your two pages:
nhl (w/o error)
nba (w/ error)
Replace form with www in the nba page and see if it works. Get back to us if it doesn't.
- sportzgamesAnswered on April 11, 2011 at 05:22 PM
That seems to have solved the problem. Nice work!! Thanks for your help.
- JotForm SupportNeilVicenteAnswered on April 11, 2011 at 05:22 PM
You're welcome. Glad to be of help.