-<select name="values[{$optionData.optionName}][]" id="{$optionData.optionName}" multiple="multiple" size="{if $options|count > 10}10{else}{@$options|count}{/if}">
+<select id="{$optionData.optionName}" name="values[{$optionData.optionName}][]" multiple="multiple" size="{if $options|count > 10}10{else}{@$options|count}{/if}">
{foreach from=$options item=option key=key}
<option value="{$key}"{if $key|in_array:$optionData.optionValue} selected="selected"{/if}>{lang}{@$option}{/lang}</option>
{/foreach}
<dl>
{foreach from=$selectOptions key=key item=selectOption}
<dd>
- <label><input {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}class="enablesOptions" data-disableOptions="[ {@$disableOptions[$key]}]" data-enableOptions="[ {@$enableOptions[$key]}]" {/if}
- type="radio" name="values[{$option->optionName}]" value="{$key}"
- {if $value == $key} checked="checked"{/if} />
- {lang}{@$selectOption}{/lang}</label>
+ <label><input type="radio" name="values[{$option->optionName}]" value="{$key}" {if $value == $key} checked="checked"{/if} {if $disableOptions[$key]|isset || $enableOptions[$key]|isset}data-disableOptions="[ {@$disableOptions[$key]}]" data-enableOptions="[ {@$enableOptions[$key]}]" class="enablesOptions"{/if} /> {lang}{@$selectOption}{/lang}</label>
</dd>
{/foreach}
</dl>