Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. User registration in Opac, zeros in birth date

    User registration in Opac, zeros in birth date

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Question    
    When registering a new user in the Opac field birth date is filled with zeros. The zeros can't be overwritten but you have to delete them before adding a real date. Can this be avoided somehow?

     

    Answer    
    The easiest way is to delete the zeros from the display in file www_f_lng/bor-new:

    In this section value "$2200" will be replaced by "":
    Old:
    <td class=td2>
    <input id="birth_day" name=N_Z303_BIRTH_DATE size=22 maxlength=8 value="$2200">
    <span class="text1"> (yyyymmdd)</span>
    </td>

    New:
    <td class=td2>
    <input id="birth_day" name=N_Z303_BIRTH_DATE size=22 maxlength=8 value="">
    <span class="text1"> (yyyymmdd)</span>
    </td>

    If the zeros shall not be displayed after the form is emptied add in the beginning section behind the following line ...
    document.form1.elements[i].name == "N_Z303_BIRTHPLACE" ||
    ... a new line ...
    document.form1.elements[i].name == "N_Z303_BIRTH_DATE" ||
    ... and delete the following 2 lines:
    if (document.form1.elements[i].name == "N_Z303_BIRTH_DATE")
    document.form1.elements[i].value = "00000000";

     

     


    • Article last edited: 6-Jun-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • User Permissions for ext01, vir01 and usmnn libraries
      • User rights Aleph x-server function ros_doc
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. birth date
      2. user registration
    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