assist:directory logo

Help

Contents

4.3. Creating and Editing Custom Fields

In addition to the standard directory fields (Company contact details and description, Contact name and email address) you can customise your directory to store a number of Custom Fields to record Company and Contact information appropriate to your organisation.

There are two types of custom field you can add: Custom Text Fields, which record information that can be typed in (e.g. some text, a number or a date) and Custom Option Fields, which provide a list of items from which one or many can be selected (e.g. gender, ethnicity or company size banding).

To edit Custom Fields select the Settings menu option, then select Edit Custom Fields from the sub-menu to open the Custom Fields page. Click on either Text Fields or Option Fields depending on which type of field you want to add or edit.

4.3.1. Creating and Editing Custom Text Fields

Creating a New Text Field

Select whether your new field is to appear on the Company or Contact record by selecting 'Company Record' or 'Contact Record' from the Edit text fields on list.

Either select 'Add new field...' from the Edit Field list or click save and add new field. You will then be able to edit the details of your new field as described below.

Selecting an Existing Text Field to Edit

Select either 'Company Record' or 'Contact Record' from the Edit text fields on list, and select the field you want to edit from the Edit Field list.

Entering the Details for a Text Field

There are a number of settings for each field to determine where it appears and what can be entered in it.

Tip: To find out exactly what an option does, click on the i icon next to it. An explanation of what the field does will be displayed under the menu.

The field is shown at the bottom of the page. You can edit the Field Label, Default Text and Validation Error Message in this section.

enter the Field Label, Default Text and Validation Error Message

When you have entered all the details for the field click save to save the field. It will then be available on the Company and Contact Records for you to edit, and in other areas as selected in the Options section (directory member login, registration form, searches).

Tip: Be careful when creating new mandatory fields - you need to bear in mind that the next time a user tries to edit a Company/Contact Record they will not be able to save their changes unless they enter something for the new field.

Deleting a Text Field

Select the field as described above and click delete field.

Tip: Be Careful! If you delete a custom field, you will loose all the information entered for field on the Company and Contact records.

back to top

4.3.2. Creating and Editing Custom Option Fields

Creating a New Option Field

Select whether your new field is to appear on the Company or Contact record by selecting 'Company Record' or 'Contact Record' from the Edit text fields on list.

Either select 'Add new field...' from the Edit Field list or click save and add new field. You will then be able to edit the details of your new field as described below.

Selecting an Existing Text Field to Edit

Select either 'Company Record' or 'Contact Record' from the Edit text fields on list, and select the field you want to edit from the Edit Field list.

Entering the Details for an Option Field

There are a number of settings for each field to determine where it appears and what can be entered in it.

Tip: To find out exactly what an option does, click on the i icon next to it. An explanation of what the field does will be displayed under the menu.

The field is shown at the bottom of the page. You can edit the Field Label, the Options that can be selected and the Validation Error Message in this section.

enter the Field Label and Validation Error Message - click on options to edit the options for this field

When you have entered all the details for the field click save to save the field. It will then be available on the Company and Contact Records for you to edit, and in other areas as selected in the Options section (directory member login, registration form, searches).

Tip: Be careful when creating new mandatory fields - you need to bear in mind that the next time a user tries to edit a Company/Contact Record they will not be able to save their changes unless they select something for the new field.

Deleting an Option Field

Select the field as described above and click delete field.

Tip: Be Careful! If you delete a custom field, you will loose all the information entered for field on the Company and Contact records.

back to top

4.3.3. Editing Options for Custom Option Fields

On the Edit Options page you can edit the options that are available for the selected field.

To add a new option click add new option and enter the Option Label.

To delete an option click the delete button next to that option. Alternately, you can tick the hidden box to stop that option being available without actually deleting it.

Tip: Be careful! If you delete an option you will lose all the instances where it has been selected against a Company/Contact Record. If you delete an option for a mandatory field it will not be possible to save changes to any records where that option was the only one selected until a new option is selected.

Setting the List Order

You can change the order the options are listed in by clicking the set list order button. Then click the next buttons in the order you want the fields to be listed and click save.

Alternately you can use the order asc. or order desc. buttons to quickly sort the options in ascending or descending order.

back to top

4.3.4. Creating Linked Custom Option Fields

Linked fields allow tiered lists with a number of levels to be created, which might be useful when you have a large number of options for a field. The way that linked fields appear on the company or contact record is described in the editing directory members section.

To create a tiered list using linked fields, start by creating a field for the top level with, e.g. Business Type, and create the options for that field, e.g. Information Technology.

Then click save and create new linked field to create the new field linked to the one you are working on, e.g. Business Sub-Type. When you create options for this field you will be able to select which option from the top-level field it comes under, e.g. Software Development comes under Information Technology.

Repeat this for as many levels as you want the field to have.

back to top