> For the complete documentation index, see [llms.txt](https://docs.limio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.limio.com/integrations/using-limio-for-salesforce/address-mandatory-fields.md).

# Addresses

## Overview

The **Limio Address Form** Lightning Web Component (`flowAddress`) is designed for use in Salesforce Flows, offering a configurable interface for address input. A key feature is the **Input: Mandatory fields** property, which defines which fields must be completed for validation.

## Property Configuration

* **API Name:** `requiredFields`
* **Type:** `String` (comma-separated, case-sensitive)
* **Label:** Input: Mandatory fields
* **Allowed values:** `country`, `postalCode`, `province`, `city`, `street`
* **Example:** `country,postalCode,city`

Enter field names as a comma-separated list to specify which fields are required. These are case-sensitive and must not include spaces.

***

## Behavior & Validation

### Field Enforcement

The component:

* Parses `requiredFields` into an internal array.
* Validates that all specified fields are completed.
* Displays error messages listing any missing values.
* Blocks navigation to the next screen in the Flow if validation fails.

### Region-Specific Logic

If the country is set to `US` or `CA`, the component **automatically adds** `country`, `postalCode`, and `province` to the required list—ensuring compliance with regional standards.

### Dynamic Updates

The required fields list updates in real time when the country value changes to `US` or `CA`.

***

## Best Practices

* ✅ Use only valid field names: `country`, `postalCode`, `province`, `city`, `street`.
* 🧠 Field names are **case-sensitive**.
* 🚫 Do not include spaces between field names.

***

## Summary

The `requiredFields` property in the Limio Address Form LWC enables Flow admins to enforce address data requirements. It provides flexible validation logic and automatically handles country-specific requirements for the US and Canada.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.limio.com/integrations/using-limio-for-salesforce/address-mandatory-fields.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
