---
title: "TOLIST (MULTI-FIELD)"
url: "https://help.formsfly.com/en/article/tolist-multi-field"
language: "en"
last_updated: "2024-11-08T15:04:26.115Z"
---

# TOLIST (MULTI-FIELD)

Converts the given fields to a List where each field value is an element in the list.

* * *

Syntax  
`TOLIST({{myfield1}}, {{myfield2}}, ..., {{myfieldN}}, 'optionalFilterFormula')`

### Example

```plaintext
 TOLIST({{myfield1}}, {{myfield2}}, ..., {{myfield3}})
 
 TOLIST({{myfield1}}, {{myfield2}}, ..., {{myfield3}},'STARTSWITH({{this}}, "B")')
```

### Notes

Second optional parameter applies a filter formula to the List elements gathered, leaving only elements that pass the condition. 

Use {{this}} to refer to the element value in formula.

### Related

[LIST](https://help.formsfly.com/en/article/list)  
[TOLIST](https://help.formsfly.com/en/article/tolist)
