Author Topic

Björn X

Monday 23 June 2003 9:04:09 pm

Comment38141

Just to give you a rough idea

{let countries=array('Germany','_Norway')
selected='Germany'
}
....
{section loop=$countries}
{switch}
<option value="{$:item}"
{case match=eq($:item,$:selected)}
selected
{case}{/case}
{/swtich}
>{$:item}</option>
{/section}