jarv
03-27-2012, 02:07 PM
Can anyone help me here?
my code below shows a list of branch locations
<fieldset>
<label>Branch Name <span class="error-text">*</span></label>
<select name="branchname" id="branchname">
<#loop:rootsection#>
<#if:rootsection.sectionid:eq:2#>
<#loop:rootsection.subsections#>
<option>{rootsection.subsections.title}</option>
<#/loop#>
<#/if#>
<#/loop#>
</select>
</fieldset>
I would like to show all branches within each branch location
Like this:
East Sussex
branch 1
branch 2
West Sussex
branch 3
branch 4
my code below shows a list of branch locations
<fieldset>
<label>Branch Name <span class="error-text">*</span></label>
<select name="branchname" id="branchname">
<#loop:rootsection#>
<#if:rootsection.sectionid:eq:2#>
<#loop:rootsection.subsections#>
<option>{rootsection.subsections.title}</option>
<#/loop#>
<#/if#>
<#/loop#>
</select>
</fieldset>
I would like to show all branches within each branch location
Like this:
East Sussex
branch 1
branch 2
West Sussex
branch 3
branch 4