# Formatted Address

## **Building Your Formatted Address**

The Avonni Formatted Address component simplifies address entry and display within your Dynamic Components. It automatically formats addresses, validates user input, and can even show the location on a map.

### **1. Connect to Your Salesforce Fields**

* **Map the component's attributes to the corresponding fields in your Salesforce object:**
  * **Label:** Provide a clear label for the address field.
  * **Street, City, Province, Postal Code, Country:** Map these attributes to the corresponding address fields in your Salesforce object.
  * **Latitude and Longitude (Optional):** If you have separate fields for latitude and longitude, map them to improve map accuracy.
  * **Locale:** Set the locale to match your desired address formatting and language preferences.

### **2. Configure Display Options**

* **Customize how the address is displayed:**
  * **Read-only:** Make the address display-only if you don't want users to edit it.
  * **Display a Map:** Show a static map of the entered address.
