commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: Validator framework handling multiple form in same html
Date Wed, 22 Oct 2003 14:32:01 GMT
This is a known issue with the client side validation.

David

--- "Joshi, Sachin (MED)" <Sachin.Joshi@geind.ge.com> wrote:
> I am using Validator framework client side validation,
> having a html page which has four forms, I am not able to get javascript
> for more than one form,
> I am using this tag in my JSP page, 
> <html:javascript formName="myForm1" staticJavascript="false"/>
> 
> This works fine when I use it for only one form but when I 
> have 2 forms the code is like this :
> <html:javascript formName="myForm1" staticJavascript="false"/>
> <html:javascript formName="myForm2" staticJavascript="false"/>
> 
> this generates two methods in javascript with same name & it fails
> 
>   function required () { 
>      this.aa = new Array("rfsNumber", "RFS Number is required.", new
> Function ("varName", " return this[varName];"));
>     } 
> 
>     function required () { 
>      this.aa = new Array("partNumber", "Part Number is required.", new
> Function ("varName", " return this[varName];"));
>     } 
> 
> 
> Please let me know if there are any solutions to this problem,
> 
> Regards
> Sachin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Mime
View raw message