Hi Angela,

I guess the problem is, that you're trying to create a form with 5 input fields,
where all the fields have the same name.

Hope that provides any sort of help.

Michael

Angela Chow schrieb:

> i have to use jsp to list 5 rows for customer to enter
> orders and i have to perform client-side validation
> right after the user keys in the information, which i
> use onChange method on the field.
>
> <form>
> <%
> for (int i=0; i<=4; i++)
> {
> %>
> <input name="field" onChange="submitIt(this.form)">
> <% } %>
>
> i have a function called submitIt, which i know it
> works fine.  If i have only one row, the validation
> works ok, but when i use jsp to make multiple rows,
> then the validaiton doesn't work.
>
> Your help will be appreciated!
>
> Angela
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to