Welcome to WebmasterWorld Guest from 54.147.10.12

Forum Moderators: incrediBILL

Message Too Old, No Replies

Form not submitting

IE shows error message

     
9:51 pm on Jan 31, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 3, 2010
posts:62
votes: 0


For some reason on my page, my forms stopped submitting in all browser. I get this error message in IE



Message: Object expected
Line: 480
Char: 4
Code: 0
URI: [makeupartistdirect.3dcartstores.com...]



Anyone know what the heck could be breaking this on my whole site?

Thanks
10:02 pm on Jan 31, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 17, 2005
posts: 4966
votes: 10


Looking at the source for that page, the error is here (on line 480):


if (objForm.email.value.trim() == "" || !validateEmail(objForm.email.value.trim()))

and the specific problem is that validateEmail is not defined. So perhaps you removed some JavaScript?
10:41 pm on Jan 31, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 3, 2010
posts:62
votes: 0


just found out somehow a js file was removed from my head. thanks for the heads up Fotiman