Zip code plus4 not working?

Discussion in 'Troubleshooting' started by mmba_webmaster, Nov 3, 2005.

  1. mmba_webmaster

    mmba_webmaster New Member

    Joined:
    Sep 27, 2004
    Messages:
    20
    It seems that aMember likes to truncate zipcodes with the additional 4 digits. It's not a limitation with the members table. I can enter my zip code "48073-4607" and if I browse my record in aMember, the last two digits are missing.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    edit amember/templates/admin/user_form.html
    replace line
    PHP:
        <td><input type=text name=zip value="{$u.zip|escape}size=6 maxlength=8></td>
    to
    PHP:
    <td><input type=text name=zip value="{$u.zip|escape}size=16 maxlength=16></td>
  3. mmba_webmaster

    mmba_webmaster New Member

    Joined:
    Sep 27, 2004
    Messages:
    20
    You've fixed it. Thanks!

Share This Page