check your validation.xml and makesure all dedined form field match with
your jsp field.  I ran to this before

hope this help

-D

----- Original Message -----
From: "Suresh Addagalla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 6:42 AM
Subject: Struts Validator Problem


> Hi,
>
> I am facing a problem with Validator while doing client-side validation.
>
> IE is throwing the following error dialog when I submit the form:
>
> "type" is null or not an object
>
> The corresponding source code (validator generated) line the *second*
> line below:
>
>                 for (x in oRequired) {
>                     if ((form[oRequired[x][0]].type == 'text' ||
>                          form[oRequired[x][0]].type == 'textarea' ||
>                          form[oRequired[x][0]].type == 'select-one' ||
>                          form[oRequired[x][0]].type == 'radio' ||
>                          form[oRequired[x][0]].type == 'password') &&
>                         (form[oRequired[x][0]].value == '')) {
>
> Please let me know if anyone knows how to fix this problem.
>
> Thanks,
> Suresh
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to