# Multi-line Addresses

An [Address](/product-suite/admin/entities/questions/address.md) question can capture addresses in various different formats. In general it is best for specific functions to be provided for common formatting tasks, such as `AddrName`, `AddrMain` and `AddrFull`.

In some situations you may require a customized function, in which case you must raise a change request as appropriate.

The following is probably the cleanest way of formatting an address function and will work for Keyfax 4.0.0 and above. It works by merging the HouseNo and Address1 into a single expression. A comma separated list of selected items is then created, starting with Address2. This list is then tidied to eliminate the ‘blanks’ and then formatted for multiline html as in the original expression.

### Databox Example

<figure><img src="/files/KQiNeI1PhHpgboVzoq1u" alt=""><figcaption></figcaption></figure>

### Message Example

<figure><img src="/files/gf2Auz53quLWPnVlz5ih" alt=""><figcaption></figcaption></figure>

### The Final Result

<figure><img src="/files/tpNiKK3cr5FIdsFtV1sp" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/databox-examples/multi-line-addresses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
