Hi all,
I created a page with nested lists. I am displaying the list of companies in site and for each company the list of addresses of this company.
I am using 'add' and 'form' at the end of each list (the end of the company list and the end of each addresses list)
All forms are properly created in the page. The problem is that the forms for addresses lists all have the same id. When I click on the 'add button' of any addresses list it will always open the form from the first addresses list. Can I change this behaviour?
Thanks!
Details:
The page has this same line of code for all addresses forms (all same id):
<li style="display:none;" class="form" id="main2_0">
Here is the zafu code:
<div do='companies in site'>
<ul>
<li do='each' do='link'>
<ul do='addresses'>
<li do='each' do='link'/>
<li do='add' after='self'/>
<li do='form'>
<r:textarea label='Adresse (sauf pays):' name='title'/>
<r:cancel t='Annuler'/><r:input type='submit'/>
</li>
</ul>
</li>
</ul>
</div>