This is a known issue with the client side validation.
David
--- "Joshi, Sachin (MED)" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]