View Single Post
Old June 29th, 2010, 03:36 PM   #1 (permalink)
kyle55155
Member
Verified Customer
 
Join Date: May 2010
Posts: 34
error when uploading product

When Uploading product using IE8 I get a popup script error:

Line: 185
Character: 2
Code: 0
Error Message: 'extra1.value' is null or not an object
URL: http://mysite.com/reviews/uploadproduct.php

Here is the code at line 185:

if (form.extra1.value == "" ) {
alert( ": " );
form.extra1.focus();
return false;
}

In looking at the code I see the checkForm function which validates input fields. It like by default it only checks the title field. I'm guessing that extra1 through 6 get modified when you add additional fields and then validates them. I have not added any additional fields.

Seems to work fine in FF, Opra, Chrome and Safari. Although it seems that IE8 errors out on a code that the other browsers have no problem with.

Is there a fix?

Last edited by kyle55155; June 29th, 2010 at 03:58 PM.
kyle55155 is offline   Reply With Quote