I want to create a Page with a panel for each record in a Form. I tried to use 'for each , but get get only 1 panel containing the first record.
<%{
for each rec in Contact[ID != 0]
{
%>
<panel>
<pr height='fill' width='fill'>
<pc width='100%' bgColor='#FFFFFF' padding='20px' hAlign="left">
<text type='Text' value='<%=rec.Name%>'>
</text>
<text type='Text' value='<%=rec.Email%>'>
</text>
</pc>
</pr>
</panel>
<%
} //for each end
}%>
I will appreciate your help.