# SelectAlternative method

Selects all alternatives values in a specific field.

Information note

In a field that contains at least one selected value, the values that are neither selected nor excluded are alternatives values.

## Parameters

| Name | Description | Type |
| --- | --- | --- |
| qSoftLock | Set to true to ignore locks; in that case, locked fields can be selected.<br>The default value is false. | Boolean |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qReturn | true/false<br><br>Information noteThe operation is successful if qReturn is set to true. | Boolean |

## See also

[Select all alternative values of a field](https://help.qlik.com/en-US/sense-developer/May2026/csh/engineapi/select-alternative-values-field)