xliu
Newbie
Posts: 1
Registered: 3/17/2006
Member Is Offline
|
| posted on 3/17/2006 at 09:07 PM |
|
|
help: Tigra Form validator not working in IE
I am trying to use Tigra Form Validator, but it only work in Mozilla and Netscape, it just get through without doing any validation in Opera and IE.
anybody knows why?
below is the code I tried to test: /Just not working in IE & Opera,
<code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="JavaScript" src="validator.js"></script>
</head>
<body>
<form id="test" name="test" action="test2.php" onsubmit="return v.exec();">
<table>
<tr>
<td id="label">Label:</td>
<td><input type="text" id="value" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" id="submit" value="next" /></td>
</tr>
</table>
</form>
<!-- /Footer -->
<script>
// form fields description structure
var a_fields = {
'value':{'l':'Please','r':true,'f':'alpha','t':'label'},
},
o_config = {
'to_disable' : ['Submit', 'Reset'],
'alert' : 1
}
// validator constructor call
var v = new validator('test', a_fields, o_config);
</script>
</body>
</html>
</code>
|
|
|
webslinger00
Junior Member
Posts: 9
Registered: 1/2/2007
Member Is Offline
|
| posted on 1/2/2007 at 01:40 PM |
|
|
I'm trying to find out the same thing. My form doesn't work in IE. Did you get any response?
Thanks.
|
|
|
tigra
Administrator
Posts: 1960
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 1/2/2007 at 03:29 PM |
|
|
Same error in both cases. See http://www.softcomplex.com/forum/viewthread_3973/
|
|
|