> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uselooop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Address Form

> Allow users to update their default address

## Setup

<Steps>
  <Step title="Address Form">
    Add a Webflow form to anywhere on your site. Make sure it is only accessible to logged in users. You can achieve this by adding a conditional Visibility to the form using [customer variables]().
  </Step>

  <Step title="Address Form - Attribute">
    Add the following attribute to the `Form` element of the Webflow form:

    ```html theme={null}
    looop=customeraddressform
    ```
  </Step>

  <Step title="Address Form - Fields">
    Add [available fields](#available-fields) to the form
  </Step>
</Steps>

## Google Places Autofill

For better user experience, you can add Google Places Autofill to the address fields. You can use our prebuilt intergration to add Google Places Autofill to the address fields. [Learn more](/integrations/google-autocomplete)

## Available Fields

### First Name

<sup>`optional`</sup>

```html theme={null}
looop=customer_firstname
```

### Last Name

<sup>`optional`</sup>

```html theme={null}
looop=customer_lastname
```

### Phone

<sup>`optional`</sup>

```html theme={null}
looop=customer_phone
```

### Company

<sup>`optional`</sup>

```html theme={null}
looop=company
```

### Address

<sup>`required`</sup>

```html theme={null}
looop=address1
```

### Address 2

<sup>`optional`</sup>

```html theme={null}
looop=address2
```

### City

<sup>`required`</sup>

```html theme={null}
looop=city
```

### State

<sup>`required`</sup>

```html theme={null}
looop=province
```

### Zip/Postal Code

<sup>`required`</sup>

```html theme={null}
looop=zip
```

### Country

<sup>`required`</sup>

```html theme={null}
looop=country
```
