How to make fields on the borrower registration form mandatory

How to make fields on the borrower registration form mandatory


Step 1 - The Patron Registration Form

Navigate to the patron add form through Patrons > New patron dropdown and choose any patron category from dropdown. 


As it is possible to add or remove items from the Patron Registration form, the content may vary from site to site, however, it should look something like this:

All fields with a Required in red beside the box must be filled in before the record can be saved. 

Step 2 - Mandatory Fields

To designate a field as mandatory, the name of the field, as it appears in the borrowers table on the KOHA database, needs to be put into the system preference BorrowerMandatoryField.  

For example, if a library wants to make emails a mandatory field, they would input email in the box of the BorrowerMandatoryField system preference. Each field inserted into the BorrowerMandatoryField system preference needs to be separated by a vertical bar.

 

After saving the edit to the system preference, Primary Email will have the word required in red beside the box and it will not be possible to save the record without entering a valid email in the patron form.  

To find the borrowers table go to http://schema.koha-community.org/, look up the version of KOHA your system is on and find the borrowers table in the schema list.


Version History

Version

Date

Detail

Author

1.0
12/04/18
Create documentHolly Cooper
2.014/05/20Migrate to ZohoHolly Cooper
2.116/03/21Adding TOCHolly Cooper




















Retention Policy

Permanent







    • Related Articles

    • How to remove fields from borrower registration form

      Step 1- The Patron Registration Form To get to the add patron form go to Patrons > New patron and choose any patron category from the dropdown list.  As it is possible to add or remove items from the Patron Registration form the content may vary from ...
    • Patron attributes on the self registration form

      Extended patron attributes are custom fields that can be added to the patron registration form as the library needs them. They can be free text fields or can have a set number of options for users to select from.  For a tour of the patron attribute ...
    • How to create a new patron account

      This document will outline how to manually add a new patron account. Step 1 - Find the tool to add new patrons Go to Patrons module on the homepage. There will be two options, add a new patron or use the Quick add new patron. Clicking on either ...
    • What are the options for the self registration form?

       This document will outline optional system preferences that can be used to personalise how the self registration form functions. For a more general guide to setting up the self registration form, please check our Help Centre. Navigate to the system ...
    • How to enable self-registration for patrons on the OPAC

      This document will outline how to enable the basic self registration form on the OPAC, so that patrons without accounts can apply for accounts to be created. In addition to the basic set up outlined in this document, there are several other ...