Custom Database Field Definitions

Created: Dec 23, 2022    |    Updated: Dec 23, 2022   |   Custom Pedigree Software

Custom Database Field Management

Our custom database field management allows you to add virtually any type of field to your database. You can choose between a set of predefined fields that we have carefully curated for most of your needs. If we don't have a field that fits your requirements, you have the ability to choose between various custom field types. To begin managing your fields, simply go into your database account area and click the "Manage Fields" link in the navigation. You will be taken to a page that lists all of the fields that have been defined for your database separated by category. These categories reflect the structure of your database's add/edit form.

Predefined Fields

Required Fields

Before we begin, it's important to understand that we have a few fields that cannot be removed and have limited preferences. Unless otherwise noted, you can control the field's label, category, description, and whether or not admins are the only users that are allowed to edit each field.

Name - The name of the animal. This field has a maximum length of 200 characters. Because this is a required field, if you only allow admins to edit the field, non-admins will not be able to create new animals.

Sex - The sex of the animal. The only options are Male and Female for this field. Because this is a required field, if you only allow admins to edit the field, non-admins will not be able to create new animals.

Sire - The animal's sire or father. You can set whether this field is required when adding or updating a record. You can also set whether or not you'd like the sire field to be hidden when adding a new animal to the database. Lastly, you can control whether or not a dropdown for the sire's breed is displayed next to the sire's name on the animal's add/edit form.

Dam - The animal's dam or mother. You can set whether this field is required when adding or updating a record. You can also set whether or not you'd like the dam field to be hidden when adding a new animal to the database. Lastly, you can control whether or not a dropdown for the sire's breed is displayed next to the dam's name on the animal's add/edit form.

Date of Birth - The date of birth of the animal. This field has quite a few customizations available. You can set whether this field is required when adding or editing an animal's record. You can also choose to hide the field when adding a new record to the database. If you want to allow your database to accommodate approximate DOB's you can check the "Allow approximate years" option which will allow users to enter a tilde (~) preceding the year of birth (e.g. ~1990). If you want to allow your database to accommodate YOB along with DOB, you can check the "Allow only year when an exact date isn't known), which will not require an exact date when entering the date of birth. Lastly, we provide a configuration where our database will approximate the YOB of an animal's sire and dam when they are entered into the database from the offspring's add/edit page. For example if I'm adding an animal's sire but we don't yet have it in the database, you will need to select the option labeled "Not found (this animal will be added to the database)". In this instance, we will estimate the YOB based on the subject animal's YOB and the "Sire/Dam Age Estimate (In Years)" field. So if our subject animal was born in 1990 and our Sire/Dam Age Estimate is set to 9, we will estimate the new sire's YOB  and set it to ~1981.

Locked - This field allows you to lock a record. Administrators can always edit locked records.

Optional Fields

The remaining pre-defined fields are all optional, although we have set up your database with a sensible configuration to start. 

Animal Height - The Animal Height field displays a text box and a dropdown for the units of the animal's height. You can manage which units are allowed to be saved, the minimum numeric value and the maximum numeric values allowed to be entered. Please note that the maximum/minimum values are not unit-based. For example, you can't enter "90 cm" for a maximum value. Instead you will need to enter "90". This is a known limitation and we will work on making it more flexible.

Animal Weight - The animal weight field displays a text box and a dropdown for the units of the animal's weight. You can manage which units are allowed to be saved, the minimum numeric value and the maximum numeric values allowed to be entered. Please note that the maximum/minimum values are not unit-based. For example, you can't enter "100 lb" for a maximum value. Instead you will need to enter "100". This is a known limitation and we will work on making it more flexible.

Awards - The awards field is a hybrid dropdown/text field similar to color, breed, etc. We will not pre-fill the "Dropdown Options", meaning the default field settings allows your users to enter custom awards. If you'd like to restrict your users from entering custom values, you can uncheck the "Allow users to add custom values" and then set the available awards in the dropdown by entering values into the "Dropdown options" field. Once you enter a new award you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no awards are entered in this text area your users will be allowed to manually type in an award. The field also allows you to control the maximum number of awards that your users can associate with a record, up to a maximum of 10.

Birth Country - The birth country field allows you to set where the animal was born. We pre-fill the dropdown options with all countries, but you are welcome to modify this list however you'd like. You can set the available countries by entering values into the "Dropdown options" field. Once you enter a new country you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no countries are entered in this text area your users will be allowed to manually type in a country. This field also allows you to control whether or not you allow users to set custom values.

Breed - The breed field is a hybrid dropdown/text field that allows you to set the breed(s) of your animals. You can set the available breeds to select in the "Dropdown options" field. Once you enter a breed you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no breeds are entered in this text area, your users will always be allowed to type in the breed free-form. You will see a dropdown labeled "Maximum entries allowed" that allows you to control how many breeds your users are allowed to associate with an animal. Lastly, there is a checkbox labeled "Allow users to add custom values" which will allow users to type in a breed regardless of the breeds in the "Dropdown options" box. 

Breeder - The breeder field is a basic text box and allows you to enter the animal's breeder(s). If you'd like to also store breeder address information, we suggest creating custom text fields for the applicable address, city, postal code, etc.

Call Name - The call name field is a simple text field.

Clubs - The clubs field is a hybrid dropdown/text field similar to color, breed, etc. We will not pre-fill the "Dropdown Options", meaning the default field settings allows your users to enter custom clubs. If you'd like to restrict your users from entering custom values, you can uncheck the "Allow users to add custom values" and then set the available clubs in the dropdown by entering values into the "Dropdown options" field. Once you enter a new club you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no clubs are entered in this text area your users will be allowed to manually type in an club. The field also allows you to control the maximum number of clubs that your users can associate with a record, up to a maximum of 10.

Color - The color field allows you to set an animal's color(s). We will not pre-fill the "Dropdown Options", meaning the default field settings allows your users to enter custom values. You can set the available colors by entering values into the "Dropdown options" field. Once you enter a new color you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no colors are entered in this text area your users will be allowed to manually type in a color. The field also allows you to control the maximum number of colors that your users can associate with a record. The maximum allowed is 10 colors.

Comments - The comments field is a basic text box. You may enter up to 3000 characters for this field.

Current Country - The current country field allows you to set where the animal currently resides. We pre-fill the dropdown options with all countries, but you are welcome to modify this list however you'd like. You can set the available countries by entering values into the "Dropdown options" field. Once you enter a new country you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no countries are entered in this text area your users will be allowed to manually type in a country. This field also allows you to control whether or not you allow users to set custom values.

DNA - Our DNA field allows you to upload simple key/value pairs for your animal's DNA markers. On the add/edit form you will see a text box for "DNA Marker" and another next to it for DNA Value". We have a pre-defined set of markers that has been populated for dogs, but you are allowed to enter custom markers from the add/edit form. You are allowed to add a maximum of 75 markers.

Markings - The markings field is a hybrid dropdown/text field similar to color, breed, etc. We will not pre-fill the "Dropdown Options", meaning the default settings allow your users to enter custom markings. If you'd like to restrict your users from entering custom values, you can uncheck the "Allow users to add custom values" and values into the "Dropdown options" field. Once you enter a new marking you can press "TAB" or "ENTER" on your keyboard to confirm the new option. If no markings are entered in this text area your users will be allowed to manually type in an award. The field also allows you to control the maximum number of markings that your users can associate with a record, up to a maximum of 10.

Owner - The owner field is a basic text box and allows you to enter the animal's owner(s). If you'd like to also store owner address information, we suggest creating custom text fields for the applicable address, city, postal code, etc.

Performance Titles - The performance titles field is a sipmle text text field. Any performance titles associated with an animal will be displayed after the animal's name in its pedigree.

Photo - The photo field allows you to photos to the animal record. The only accepted format is .jpg.

Registry Number - The registry number field is quite flexible. Along with a free-form text field, you can also add a list of optional registries in the "Registries" text box. Once you enter a new registry you can press "TAB" or "ENTER" on your keyboard to confirm the new option. Once you have added at least one registry a dropdown will appear next to the registry number field on the add/edit form and you will not be able to enter a registry number without also selecting an option from the registry dropdown. We also can auto-generate registry numbers for you. Simply check the "Automatically generate a unique registry number if one is omitted when creating a new record" checkbox and set a numeric value in the "Begin at registry number" field. Whenever a new record is added to the database without a registry number, we will automatically generate a number based on these settings. To take it one step further, you can also control whether or not a registry number is automatically generated when adding new sire/dam records from the offspring add/edit page by selecting the checkbox labeled "Automatically generate a registry number for the sire and dam when creating at the same time as their offspring."

Show Titles - The show titles field is a sipmle text text field. Any show titles associated with an animal will be displayed before the animal's name in its pedigree.

Custom Fields

Basic Text Field - A basic text field will be the most common type of field you will want to use. Aside from the label, category, description and standard checkbox settings there are no special configuration options for this field. All text field values have a maximum length of 255 characters.

Long Text Field - If you need something longer than the 255-character limit of a Basic Text Field, you should use a Long Text Field. This functions exactly the same as a Basic Text field except it has a 3000-character limit.

Dropdown Field - A dropdown field is essentially a hybrid dropdown/text field and is a perfect option for when you want to give your users the option of selecting values from a list and/or limiting the values that your users can enter. When creating a dropdown field you can enter values in the "Dropdown options" field to populate the dropdown that's available on the add/edit form. If you check the "Allow users to add custom values" box, users will have the ability to either select from the dropdown or manually type in a custom value. If you don't enter any values in the "Dropdown options" setting, users will be forced to type in a custom value. Use the "Maximum entries allowed" setting to limit how many unique values can be associated with an animal's record.

Numeric Field - Numeric fields are very similar to basic text fields with the exception that the input on the add/edit form only allows numeric values and you have the ability to configure a minimum and maximum value. These settings are not required. 

Date Field - Date fields allow you to associate simple dates with your animals. Common uses might be: registration date, date of last measurement, transfer date, etc.

Yes / No (Boolean) Field - The Yes / No fields allow you to add a simple dropdown with "Yes" and "No" as the only options.

Length / Height Field - Length / height fields allow you to save length or distance measurements to your animals' records. When you create a length / height field you are given the ability to select which units you'd like to show on the add/edit form: mm, cm, in, hh (hands), ft, m, km. We will start you off with a sensible default, but you are free to add or remove any of these units. You are also welcome to set a minimum and maximum value that is allowed, however please note that the maximum and minimum values are not unit-based. For example, you can't enter "90 cm" for a maximum value. Instead you will need to enter "90" and users will not be allowed to enter anything with a numeric value over 90 (e.g. "90 in" or "90 km"). This is a known limitation and we will work on making it more flexible in the future.

Weight Field - Weight fields allow you to save weight measurements to your animals' records. When you create a weight field you are given the ability to select which units you'd like to show on the add/edit form: g, oz, kg, lb. We will start you off with a sensible default, but you are free to add or remove any of these units. You are also welcome to set a minimum and maximum value that is allowed, however please note that the maximum and minimum values are not unit-based. For example, you can't enter "90 kg" for a maximum value. Instead you will need to enter "90" and users will not be allowed to enter anything with a numeric value over 90 (e.g. "90 g" or "90 lb"). This is a known limitation and we will work on making it more flexible in the future.


Was this article helpful?

 

Can't find the answer to your question?

Email Us Support Center