Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Javascript Errors (Internet Explorer 6)

Posts: 1
Registered: 12/20/2004
Member Is Offline
posted on 12/21/2004 at 09:25 AM Reply With Quote
Javascript Errors (Internet Explorer 6)


I have implimented the free version of Tigra Form Validator into a website I have created. This works perfectly in Mozilla Firefox v1pr and Netscape Navigator 7.2, however in Internet Explorer 6, I get two errors.

The first error does not always appear, but it is when the page has finished loading:

Line: 125
Char: 1
Error: Expected identifier, string or number
Code: 0

The second is when I click the submit button:

Line: 62
Char: 1
Error: 'form' is undefined
Code: 0

'form' is what I renamed the variable 'v', when I was trying to find out what this error was about.

Just in case it is needed, here is the HTML I have for the form page:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
[... irrelevant code removed by admin ..]

// form fields description structure
var a_fields = {
'FullName': {
'l': 'Full Name', // label
'r': true, // required
'f': 'alpha' // format (see below)
//'t': 'name', //id of the element to highlight if input not validated

//'m': null, // must match specified form field
//'mn': 2, // minimum length
//'mx': 10 // maximum length
'Address1':{'l':'Address Line 1','r':true},
'Address2':{'l':'Address Line 2','r':true},
'Postcode':{'l':'Postcode','r': true},
'TelephoneNumber':{'l':'Telephone Number','r':true,'f':'phone'},
'EmailAddress':{'l':'Email Address','r':false,'f':'email'},

o_config = {
'to_disable' : ['Submit', 'Reset'],
'alert' : 1

// validator constructor call
var form = new validator('enquiry', a_fields, o_config);


Thanks in advance for any help.

View User's Profile View All Posts By User U2U Member
Junior Member

Posts: 4
Registered: 12/21/2004
Member Is Offline
posted on 12/23/2004 at 07:35 AM Reply With Quote

had the same issue:

i believe it is the following:


no commata allowed after the last activation of a validation...:


the second error was probably caused by the first...

hope it works, and merry christmas
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Product Demonstrations Product Demos
Registration Form Validation
Login Form Validation
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Validators Comparison Table
Support Forum Support Forum

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004