
<span id="spryselect2">
    <select class="selectx1 wdt100" name="saveidto" id="saveidto" >
        <option value="-1">اختر خزنة</option>

        {foreach $saveToData as $saveTo}

        <option data-curr="{$saveTo->currencyId}" data-curr-name="{$saveTo->currencyName}" data-cfactor="{$saveTo->conversionFactor}" data-othercfactor="{$saveTo->otherconversionFactor}" value="{$saveTo->saveid}">{$saveTo->savename} {if $Programsettingdata->showCurrency == 1}- {$saveTo->currencyName}{/if}</option>

        {/foreach}

    </select>
    <span class="selectInvalidMsg"> *</span></span>




{literal}
<script type="text/javascript">
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2", {isRequired: false, invalidValue: "-1"});
</script>
{/literal}