I have a  form , in which the text fields are generated dynamically (same
property name ), I am unable to develop some client side validation for
these dynamically generated fields ... I also want to compare the value of
one fields with another.

code below :
-----
<c:forEach var="item" items="${sessionScope.ItemList}">

                                <tr class="trow">

                                        <td class="small">${item.title}</td>
                                        <td 
class="small">${item.shortDescription}</td>
                                        <html:hidden property="ItemId"  
value="${item.id}" />
                                        <td class="small" 
align="center"><html:text styleClass="sbox"
                                                property="itemAmount"  />
                                       </td>

                                        <td class="small">$
                                        ${item.maxLimit}</td>

                                </tr>
                        </c:forEach>

-------

I want to validate the values of itemAmount fields.

How to make this possible with struts validation.xml,

Regards,
Jasdeep

-- 
View this message in context: 
http://www.nabble.com/Validating-dynamic-Fields%2C-How-to-...-tf4515518.html#a12879416
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to