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


## Syntax

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

## Description

> Macro (excerpt)
> 
> Creates a simple text input field in the gadget report parameters section.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| label | string | Yes | Label of the field. |
| defaultValue | string | Yes | Default value or an empty string. |

## Return type

**The returned value has no meaning.**

  


## Example

```
silreporting_createInput("Project", "TEST");
```

![image](media://cc23edcf-47e6-4527-a3a8-a9be1ba10299)