Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Rosetta

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Rosetta
    3. Knowledge Articles
    4. Setting the “Postal Code” field gives an error: “Field Postal Code must contain a valid postcode”

    Setting the “Postal Code” field gives an error: “Field Postal Code must contain a valid postcode”

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Product: Rosetta
    • Product Version: 5.2

    Out of the box Rosetta supports postal codes that contains only numeric characters.

    If your country postal code also includes alphabetical characters you should edit the "postal_code_regex” general parameter to validate your alpha numeric postal code.

    The "postal_code_regex” general parameter is available at “Administration > General > General Parameters” under the “general” module.

    Change the parameter to a general expression that matches your postal code.

    For example: ^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}$ matches the Canadian postal code.


    • Article last edited: 04-Apr-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Update Date Format display in the Rosetta User Interface
      • Setup Email Preferences to Subscribe to Ex Libris Mailing Lists
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      Rosetta
    2. Tags
      1. Prod:Rosetta
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved