# GetFieldValues method

Retrieves the values of a field for the default state.

### Fieldvalue

| Name | Description | Type |
| --- | --- | --- |
| qText | Text related to the field value. | String |
| qIsNumeric | Is set to true if the value is a numeric.<br>Default is false. | Boolean |
| qNumber | Numeric value of the field.<br>This parameter is displayed if *qIsNumeric* is set to true. | Double |

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qField | Name of the field. | Yes | String |
| qGetExcludedValues | If set to true, only NOT-selected values are returned. | Yes | Boolean |
| qDataPage | Range of returned values. | Yes | [BookmarkFieldPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-bookmarkfieldpage.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qFieldValues | The field values from a defined range. | Array of [FieldValue](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-fieldvalue.htm) |

## See also

[Get the handle of a field](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/get-handle-field)