<formset> <form name="LoginForm"> <field property="name" depends="required"> <arg0 key="Name Not Entered" resource="false"/> </field> ......................... these tags for validating name field. It is working fine. But now I changed name to indexed one. ie many textboses are there. name[0],name[1],................ ie the number of checkboxes are dynamic. At this context how can I add validations to these dynamically generating text boxes.
I do not use the client-side JavaScript validation. When I have had to validate indexed properties I just implemented the validation in the form's validate method.
No. You can do it in server-side validation by specifying an indexedListProperty attribute with the <field> tag, but it is not supported in client-side validation. See the example I gave this thread.