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


## Syntax

**<span style="color: #3366ff">silreporting_createRadio(label, options, defaultValue)</span>**  


## Description

> Macro (excerpt)
> 
> Creates a radio group in the gadget report parameters section.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| label | string | Yes | Label of the field. |
| options | <span style="color: #003366">SILReportingOption []</span> | Yes | List of selectable options. |
| defaultValue | string | Yes | Default value or an empty string. |

## Return type

**The returned value has no meaning.**

## Example

```
SILReportingOption [] options;

SILReportingOption p1;
p1.name = "cdev";
p1.value = "CDEV";
p1.label = "Custom Development";

SILReportingOption p2;
p2.name = "prdt";
p2.value = "PRDT";
p2.label = "Products";

options += p1; 
options += p2;

silreporting_createRadio("Project", options, "CDEV");
```

![image](media://5fdf3408-15e3-457a-a110-5b60f6c23e6a)