Returns the field type of a field by its data name

Parameters

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

Returns

String

Examples

FIELDTYPE('items')

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

// returns "TextField"