# Address

## **Specs**

| Label                     | Value                         |
| ------------------------- | ----------------------------- |
| **Version**               | 1.0.0 (updated on 2025-01-12) |
| **Developer**             | Labii Inc.                    |
| **Type**                  | Column                        |
| **Support Configuration** | Yes                           |
| **Support Readonly view** | Yes                           |
| **Support Edit view**     | Yes                           |
| **Support Form view**     | Yes                           |
| **Support Default value** | Yes                           |
| **Support Import**        | Yes                           |
| **Allow multiple**        | Yes                           |

## Overview

The Address widget is designed to efficiently gather a user's address details, including street address, city, state, zip code, and country. This widget streamlines the address collection process and ensures the accurate display of a complete and properly formatted address. It is particularly valuable in e-commerce, shipping, and contact information forms, where it helps users provide precise address information while maintaining the consistency and correctness of the displayed address data.

## Use case

1. Use this widget to collect the company address in CRM
2. Use this widget to collect the address for Invoice.

## Configuration

The widget will function without additional setup, but you have the option to utilize the configuration to customize the same address.

* **Copy from -** Select an address to copy from.

## Views

See the interface of the widget in the following views.

### **Readonly view**

Readonly view display the values of the column.

### **Edit view**

The Edit view is the interface that allows you to modify the value.

### **Form view**

The Form view is the field integrated into the add form for collecting values when creating a new record.

The Form view is same as the Edit view.

## Data

Each widget in Labii stores data in a unique manner; refer below to understand how data from this widget is stored.

### Data format

JSON data

```json
{
    "address": "", 
    "address2":"", 
    "city":"", 
    "state":"", 
    "zipcode":"", 
    "country":""
}
```

### **Default value**

The Default Value field within the column allows you to specify the default value when a record is created.

Default value shall be JSON text with the above keys.

`{"address": "", "address2":"", "city":"", "state":"", "zipcode":"", "country":""}`

### **Import value**

The Import Value is the value you need to include in your Excel table for it to be imported into Labii.

Import value JSON text with the above keys.

`{"address": "", "address2":"", "city":"", "state":"", "zipcode":"", "country":""}`
