cidade
05-31-2009, 10:26 AM
<table>
<tr>
<td class="formCaption"><label for="email_local">{lng p="wishaddress"}:</label></td>
<td class="formField">
<input type="text" name="email_local" id="email_local" value="{$_safePost.email_local}" size="20" onblur="checkAddressAvailability()" />
<select name="email_domain" id="email_domain" onblur="checkAddressAvailability()">
{foreach from=$domainList item=domain}<option value="{$domain}"{if $_safePost.email_domain==$domain} selected="selected"{/if}>@{$domain}</option>{/foreach}
</select> </td>
<td class="formStatus" id="addressAvailabilityIndicator"> </td>
</tr>
</table>
I dont have multiple domains therefore I would like to change
<option value="{$domain}"{if $_safePost.email_domain==$domain} selected="selected"{/if}>@{$domain}</option>
to a single domain with no selection, yet still have the check address availability function
any help appreciated
<tr>
<td class="formCaption"><label for="email_local">{lng p="wishaddress"}:</label></td>
<td class="formField">
<input type="text" name="email_local" id="email_local" value="{$_safePost.email_local}" size="20" onblur="checkAddressAvailability()" />
<select name="email_domain" id="email_domain" onblur="checkAddressAvailability()">
{foreach from=$domainList item=domain}<option value="{$domain}"{if $_safePost.email_domain==$domain} selected="selected"{/if}>@{$domain}</option>{/foreach}
</select> </td>
<td class="formStatus" id="addressAvailabilityIndicator"> </td>
</tr>
</table>
I dont have multiple domains therefore I would like to change
<option value="{$domain}"{if $_safePost.email_domain==$domain} selected="selected"{/if}>@{$domain}</option>
to a single domain with no selection, yet still have the check address availability function
any help appreciated