Returns the field type of a field by its data name

Parameters

dataName String (required) - The data name of the field

Returns

String

"TextField"
"YesNoField"
"Label"
"Section"
"ChoiceField"
"ClassificationField"
"PhotoField"
"VideoField"
"AudioField"
"AttachmentField"
"BarcodeField"
"DateTimeField"
"TimeField"
"Repeatable"
"AddressField"
"SignatureField"
"HyperlinkField"
"CalculatedField"
"RecordLinkField"

Examples

FIELDTYPE('items')

// returns "Repeatable"
FIELDTYPE('name')

// returns "TextField"
FIELDTYPE('count')

// numeric fields return "TextField"
// Check for numeric fields using FIELD('count').numeric
// See https://docs.fulcrumapp.com/docs/calculations-ref-field