Changeset 22762


Ignore:
Timestamp:
2013/03/26 17:05:32 (8 years ago)
Author:
michael_nelson
Message:

r#2172 郵便番号の必須を外したい - bottom conditional area with postal code input was required in order to post form. removed mark from tpl and changed code behind to allow blank

Location:
branches/version-2_12_3en-p2/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12_3en-p2/data/Smarty/templates/default_en-US/shopping/nonmember_input.tpl

    r22747 r22762  
    192192            </tr> 
    193193            <tr> 
    194                 <th>Postal code<span class="attention">*</span></th> 
     194                <th>Postal code</th> 
    195195                <td> 
    196196                    <!--{* <!--{assign var=key1 value="shipping_zip01"}--> *}--> 
  • branches/version-2_12_3en-p2/data/class/pages/shopping/LC_Page_Shopping.php

    r22749 r22762  
    433433//            $objErr->doFunc(array(t('c_Postal code 1_01'), 'shipping_zip01'), array('EXIST_CHECK')); 
    434434//            $objErr->doFunc(array(t('c_Postal code 2_01'), 'shipping_zip02'), array('EXIST_CHECK')); 
    435             $objErr->doFunc(array(t('c_Postal code_01'), 'shipping_zipcode'), array('EXIST_CHECK')); 
     435            $objErr->doFunc(array(t('c_Postal code_01'), 'shipping_zipcode'), array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    436436            $objErr->doFunc(array(t('c_Address 1_01'), 'shipping_addr01'), array('EXIST_CHECK')); 
    437437            $objErr->doFunc(array(t('c_Address 2_01'), 'shipping_addr02'), array('EXIST_CHECK')); 
Note: See TracChangeset for help on using the changeset viewer.