Hi,
I have a requirement to create (n number of)radio buttons
dynamically.I would like to validate them at form, How would i do this
as these are dynamic properties?.
Like Administrator has got 3 options to choose against each student name,
ex. in MVC it looks like
<% for (int i=0;i<vectSize;i++){ %>
Name : <%certCode[i]%>
<input type="radio" name="<%= certCode[i] %>"
<%= (answer!=null && answer.equals("Y"))?"checked":"" %>
value="Y" >
<input type="radio" name="<%= certCode[i] %>"
<%= (answer!=null && answer.equals("X"))?"checked":"" %>
value="X" >
<input type="radio" name="<%= certCode[i] %>"
<%= (answer!=null && answer.equals("Z"))?"checked":"" %>
value="Z" >
<%}//for ends %>
TIA
yaman
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>