You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Raible, Matt" <Ma...@cable.comcast.com> on 2003/04/22 17:59:26 UTC

RE: validator JScript: IntegerValidations() missed?

I've seen this error occur when the field is missing from your form as well.

Matt

> -----Original Message-----
> From: Nerijus.Navickas@srb-intl.com
> [mailto:Nerijus.Navickas@srb-intl.com]
> Sent: Tuesday, April 22, 2003 9:57 AM
> To: struts-user@jakarta.apache.org
> Subject: validator JScript: IntegerValidations() missed?
> 
> 
> Hello,
> 
> Bumped to JScript validator error:
> 
> 	'type' is null or not not an object
> 
> and this error occurs inside function validateInteger(form) line:
> 
>                 oInteger = new IntegerValidations();
>                 for (x in oInteger) {
>                 	var field = form[oInteger[x][0]];
> 
> >>>                  if (field.type == 'text' ||
> 
> IMHO it is because function IntegerValidations() can't be 
> found and it returns nothing.
> So why my page misses IntegerValidations() function and where 
> to find it?
> 
> ~nn
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org