Skip to main content

3 - Create Custom Display Types

Last updated 17/04/2025

Five has numerous display types for you to use, however, you can create your own custom display types and attach them to your fields. All definitions can be created with no coding. The list below shows just some of the features you can add to your own display types.

  • Increase the number of lines
  • Change the justification
  • Set a minimum and maximum length a field can hold
  • Add padding
  • Set a minimum and maximum value a field can hold
  • Set decimal places
  • Add regular expressions and masks
  • Create field data
  • Create you own error messages
1. Click Setup in the menu.

2. Click Display Types in the sub-menu.


Display Types menu item
Figure 1 - Display Types menu item

Add the BookTitle Display Type

The BookTitle display type will be an expanding text field. Two text lines within the control will display by default, and if the value is longer than two text lines, as a member enters the title for the book, the field will expand and a scroll bar will become available.

1. Click the Add Item button.

2. Type BookTitle in the Name field.

3. Click the lookup icon in the Display Type field and select Text.

4. Type 2 in the Minimum Lines field.

5. Type 4 in the Maximum Lines field.


Add BookTitle display type
Figure 2 - Add BookTitle display type

6. Click the Save button in the form app bar.


Save button
Figure 3 - Save button

Create the State Display Type

The State display type will be a combo field. A lookup icon will become available in the field for a member to select a state. Key: Value pairs will be added into the Field Data window. The Key will be stored in the database and the Value will be displayed in the lookup list.

1. Click the Add Item button.

2. Type State in the Name field.

3. Click the lookup icon in the Display Type field and select Combo.


Add State display type
Figure 4 - Add State display type

4. Click the Edit button in the Field Data field.


Edit button
Figure 5 - Edit button

5. Click the Add Field Data button.

6. Type QLD in the Key field and Queensland in the Value field.


Add field data
Figure 6 - Add field data

7. Continue to add the following Key: Value pairs.
  • NSW: New South Wales
  • VIC: Victoria
  • SA: South Australia
  • WA: Western Australia
  • TAS: Tasmania
  • NT: Northern Territory
8. Click the Save button.


Save button
Figure 7 - Save button

9. Click the Save button in the form app bar.


Save button
Figure 8 - Save button