---
title: "gadget_isChecked"
canonical: "https://support.appfire.com/space/PSJ/15488181/gadget_isChecked"
format: markdown
---
> Macro (aura-html)


> 📝 The use of this function requires the Power Scripts for Jira add-on be installed and licensed.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | gadget_isChecked(argv, label) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Verifies if a checkbox is selected or not.

Verifies if a checkbox is selected or not.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| argv | String [] | Yes | The argv variable |
| label | String | Yes | The label of the checkbox |

## Return Type

**Boolean**

## Example

Assume we have the following parameter script:

```
gadget_createSingleCheckbox("Single Checkbox", true, false, "Required checkbox");
```

The following call is used in the execution script to determine if the checkbox created above is checked:

```
boolean res = gadget_isChecked(argv, "Single Checkbox");
```

## See also

> Macro (contentbylabel)

> Macro (fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macro)