Hi,
I have a
JSP page in which I am iterating four columns for 5 times. I need to validate one column for a particular date and one column for numbers. When I used JavaScript, its validating only the first one. How to validate all the rows. Here is the code sample.
<tr>
<td><b>Expense Date</b></td>
<td><b>Expense Type</b></td>
<td><b>Description</b></td>
<td><b>Amount in Rs</b></td>
</tr>
<% for(int i=0;i<5;i++)
{
%>
<TR>
<TD><html:text property="expdt" size="26"/></TD>
<TD><html:select property="expenseType" size="1">
<html
ptions collection="exptype" property="shortName" labelProperty="name"/>
</html:select>
</TD>
<TD><html:text property="expdesc" size="27"/></TD>
<TD><html:text property="expamt" size="26"/></TD>
</TR>
<%
}
%>
Thanks in advance,
Regards,
Visu