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


## Syntax

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


## Description

> Macro (excerpt)
> 
> Creates an autocomplete select list field 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_createAutocompleteMultiSelectList("Project", options, "");
```

![image](media://905ae215-2ec3-485a-b070-1bb69d32f235)