# DATANAMES

<PageBadges />

Returns field data names, optionally filtered by type.

## Example

```js
DATANAMES("TextField")
```

## Parameters

- type: optional field type string

## Returns

Array of data_name strings.
