Skip to main content

How to Create Custom Field Types

In this guide, you will learn how to create custom field types in FlowAgent. Custom field types allow you to define new data formats that can be used within your modules. This example will cover creating a custom field type that can contain time information.

Step-by-Step Instructions

Step 1: Navigate to Site Settings

  1. Navigate to Site settings.

Step 2: Open the Fields Section

  1. Click "Fields".

Step 3: Create a New Field Type

  1. Click "CREATE".

Step 4: Enter Field Type Details

  1. Add a name for your field type.

  2. Choose the type format.

Step 5: Add UI Code

  1. Add a code for the UI of the field type.

Step 6: Save the Field Type

  1. Click "save SAVE".

Step 7: Verify the New Field Type

  1. The newly created field type is now added to the list.