webslinger00
Junior Member
Posts: 9
Registered: 1/2/2007
Member Is Offline
|
| posted on 1/2/2007 at 03:11 PM |
|
|
Problem with actual JS file
Why does the IE debugger finding this as an issue?
The message is:
A Runtime Error has occurred.
Line 159
Error: 'null' is nul or not an object.
See the JS section below.
}
// check format
else if (this.a_fields[n_key]['v'] && this.a_fields[n_key]['f'] && (
(typeof(o_format_check) == 'function'
&& !o_format_check(this.a_fields[n_key]['v']))
|| (typeof(o_format_check) != 'function'
&& !o_format_check.test(this.a_fields[n_key]['v'])))
) { <--------------------------THIS LINE RIGHT HERE!
this.a_fields[n_key].n_error = 4;
n_errors_count++;
}
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/2/2007 at 03:28 PM |
|
|
Usually the error messages point to the place in the code that fails, not the place that causes the problem.
Issue has been resolved in another ticket: http://www.softcomplex.com/forum/viewthread_3973/
|
|
|
webslinger00
Junior Member
Posts: 9
Registered: 1/2/2007
Member Is Offline
|
| posted on 1/2/2007 at 03:40 PM |
|
|
Not fixed.
Sorry. It's still not fixed. I did delete the last comma but then got Runtime error message. Please help.
Thanks.
|
|
|
webslinger00
Junior Member
Posts: 9
Registered: 1/2/2007
Member Is Offline
|
| posted on 1/2/2007 at 04:03 PM |
|
|
I've been able to determine that somehow the e-mail validation is causing the Runtime Error. Any ideas or suggestions?
I've included my test code in the txt file attached.
Thanks again.
Attachment: testfile.txt (19.94kb)
This file has been downloaded 298 times
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/2/2007 at 06:09 PM |
|
|
embedded types are case sensitive.
it's 'f':'email', not 'f':'Email'
|
|
|
webslinger00
Junior Member
Posts: 9
Registered: 1/2/2007
Member Is Offline
|
| posted on 1/2/2007 at 07:44 PM |
|
|
Fixed!
Thanks, that did it.
-web
|
|
|