View Single Post
  #13  
Old 01-13-2005, 06:39 AM
  shishapipe's Avatar 
shishapipe shishapipe is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London
Posts: 47
 

Default

Just thought i would post this for x-cart 4.09 code for the shipping and bill address to make the post code in capitals.

shopcart/skin1/main/register_billing_address.tpl

Code:
<TR> <TD align="right">{$lng.lbl_zip_code}</TD> <TD>{if $default_fields.b_zipcode.required eq 'Y'}<FONT class="Star">*</FONT>{else}{/if}</TD> <TD nowrap> <INPUT type="text" id="b_zipcode" name="b_zipcode" size="32" maxlength="32" value="{$userinfo.b_zipcode}" onChange="check_zip_code();this.value=this.value.toUpperCase()"> {if $reg_error ne "" and $userinfo.b_zipcode eq "" and $default_fields.b_zipcode.required eq 'Y'}<FONT class="Star">&lt;&lt;</FONT>{/if} </TD> </TR>

shopcart/skin1/main/register_shipping_address.tpl

Code:
<TR> <TD align="right">{$lng.lbl_zip_code}</TD> <TD>{if $default_fields.s_zipcode.required eq 'Y'}<FONT class="Star">*</FONT>{else}{/if}</TD> <TD nowrap> <INPUT type="text" id="s_zipcode" name="s_zipcode" size="32" maxlength="32" value="{$userinfo.s_zipcode}" onChange="check_zip_code();this.value=this.value.toUpperCase()"> {if $reg_error ne "" and $userinfo.s_zipcode eq "" and $default_fields.s_zipcode.required eq 'Y'}<FONT class="Star">&lt;&lt;</FONT>{/if} </TD> </TR>
__________________
Regards Maxking

SERVER: Microsoft-IIS/5.0
MYSQL Server: 4.0.18-NT
PERL: 5.006001
PHP: 4.3.6
X-CART pro: 4.3
X-AOM: 4..3
X-RMA: 4..3X-FancyCategories 4.3
Skin: Own Design
Marketing Manager Professional 3.0 Bundle
Reply With Quote