> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enum CustomFieldType

> Custom Field type: 1 = Number, 2 = Short text, 3 = Long text, 4 = Date, 5 = Unlimited date, 6 = Checkbox, 7 = Drop-down listbox, 8 = Decimal, 9 = DateTime, 10 = Time, 11 = TimeSpan, 12 = Relation, 13 = Attachment

Custom Field type: 1 = Number, 2 = Short text, 3 = Long text, 4 = Date, 5 = Unlimited date, 6 = Checkbox, 7 = Drop-down listbox, 8 = Decimal, 9 = DateTime, 10 = Time, 11 = TimeSpan, 12 = Relation, 13 = Attachment

## Syntax

```crmscript theme={null}
CustomFieldType
```

## Fields

| Name        | Description                                                                                                                                                                                                                                                 |
| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Unknown     | Unknown/Undefined field type: 0                                                                                                                                                                                                                             |
| Integer     | Number (32-bit integer): '\[I:123]'                                                                                                                                                                                                                         |
| ShortText   | Short text, up to 255 characters: 'text value'                                                                                                                                                                                                              |
| LongText    | Long text: 'long text value'                                                                                                                                                                                                                                |
| Date        | Date: '\[D:06/19/2019]'                                                                                                                                                                                                                                     |
| Blob        | Binary blob, encoded as Base64 string.                                                                                                                                                                                                                      |
| Checkbox    | Boolean, stored as an integer, 1 = checked/true, 0 = unchecked/false: '\[I:1]'                                                                                                                                                                              |
| MdoList     | MDO List item reference, stored as an integer ID: '\[I:123]'                                                                                                                                                                                                |
| Decimal     | Decimal / floating point, stored as a double: '\[F:3.14159]'                                                                                                                                                                                                |
| DateTime    | Date + Time:  '\[DT:06/19/2019 14:35:56.00000]'                                                                                                                                                                                                             |
| Time        | Time only - ignore the date part: '\[T:06/19/2019 14:35:56.00000]'                                                                                                                                                                                          |
| TimeSpan    | Timespan in some units (hours, minutes or seconds): '\[I:1234]'                                                                                                                                                                                             |
| RelationTo  | Relation to another table. Stored as an int (primary key of record in other table): '\[I:1234]'                                                                                                                                                             |
| Attachment  | File Attachment: int record id in attachment table: '\[I:1234]'                                                                                                                                                                                             |
| DynamicLink | Dynamic Link: contains link redirect value: '[https://example.com/scripts/ticket.fcgi?action=redirectLink\&extraFieldId=5\&table=y\_equipment\&id=2](https://example.com/scripts/ticket.fcgi?action=redirectLink\&extraFieldId=5\&table=y_equipment\&id=2)' |
| ListText    | Text with list items to choose between: 'text value'                                                                                                                                                                                                        |


## Related topics

- [SuperOffice.WebApi.Data.CustomFieldType](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomFieldType.md)
- [SuperOffice.WebApi.Data.FieldInfoBase](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldInfoBase.md)
- [NSFieldInfoBase](/en/automation/crmscript/reference/CRMScript.NetServer.NSFieldInfoBase.md)
- [Enum ReturnType](/en/automation/crmscript/reference/CRMScript.NetServer.ReturnType.md)
- [Get Custom Field Info](/en/api/reference/restful/rest/project/get-custom-field-info.md)
