### [Customizing the Address Field](https://wpforms.com/docs/how-to-customize-the-address-field/)

**Published:** November 27, 2023
**Author:** Umair Majeed

**Excerpt:** Learn how to change the layout of the address field for different locations.

**Content:**

Address Field is a Basic Feature

 Unlock Address Field and other powerful features to grow your business.

 [ Get WPForms Basic ](https://wpforms.com/pricing/) 

Would you like to customize the Address field to better fit your website’s needs? The Address field can be an important part of your form but the default settings aren’t always one-size fits all.

This guide will go over how to easily customize the Address field in your forms.

- [Editing Field Label and Description](#edit-label)
- [Choosing an Address Scheme](#address-scheme)
- [Required Field](#require-field)
- [Adding Placeholder Text or Default Values](#placeholder)
- [Hiding Extra Sub-Fields](#hide-subfield)
- [Enabling Address Autocomplete](#address-autocomplete)

Please enable JavaScript in your browser to complete this form.

### Try this Form Demo!

AddressAddress Line 1

Address Line 2

City

— Select state —AlabamaAlaskaArizonaArkansasCaliforniaColoradoConnecticutDelawareDistrict of ColumbiaFloridaGeorgiaHawaiiIdahoIllinoisIndianaIowaKansasKentuckyLouisianaMaineMarylandMassachusettsMichiganMinnesotaMississippiMissouriMontanaNebraskaNevadaNew HampshireNew JerseyNew MexicoNew YorkNorth CarolinaNorth DakotaOhioOklahomaOregonPennsylvaniaRhode IslandSouth CarolinaSouth DakotaTennesseeTexasUtahVermontVirginiaWashingtonWest VirginiaWisconsinWyomingState

Zip Code

Submit![Loading](https://wpforms.com/wp-content/plugins/wpforms/assets/images/submit-spin.svg)

 ---

## Editing Field Label and Description

The form builder gives you the option of editing both the Address field’s label and description. To do this, select the Address field and click on either the **Label** or **Description** field to begin editing.

![Address label description](https://wpforms.com/wp-content/uploads/2021/06/address-label-description-1.png)### Hiding Field Label and Sub-Labels

Some fields, like the Address field, have both Labels and Sub-Labels. Labels are used for the overall field, whereas Sub-Labels are used for smaller fields nested inside, like City, State, and Zip/Postal Code.

You can choose to hide the default Sub-Labels under each input field. To find this option, go to the **Advanced** tab and select **Hide Sub-Labels**.

![Hide sub-labels](https://wpforms.com/wp-content/uploads/2021/07/hide-sub-labels.png)If you’re looking to further customize the sub-labels of the Address field, such as changing their text, you can utilize a specific PHP code snippet. For detailed instructions on how to apply these changes, please consult our [developer documentation](https://wpforms.com/developers/how-to-change-the-address-field-sublabels/).

## Choosing an Address Scheme

The Address field’s Scheme determines the format for the field and currently offers two options: US and International. To change this, click on the **Scheme** dropdown field and select the option that fits best.

![Address scheme](https://wpforms.com/wp-content/uploads/2021/06/address-scheme-1.png)If **US** is selected, a user will see a dropdown list of states they can choose from.

![Address scheme US](https://wpforms.com/wp-content/uploads/2021/06/address-scheme-US.png)If **International** is selected, they’ll instead have a list of countries to choose from and can manually enter their Province/State/Region.

![Address scheme international](https://wpforms.com/wp-content/uploads/2021/06/address-scheme-international.png)If you’d like to create custom schemes for your forms, please see our complete guide to [creating additional schemes for the Address field](https://wpforms.com/developers/create-additional-schemes-for-the-address-field/).

## Required Field

The **Required** option will force users to completely fill out the Address field. If selected, the form will not submit or the user will not be able to go on to the next page if it’s a multi-page form.

![required-field](https://wpforms.com/wp-content/uploads/2021/07/required-field.png)## Adding Placeholder Text or Default Values

You can help your users fill out the form by adding either placeholder text or default values. Placeholders can be used as an example to show users what information needs to be entered in the field. Default values can be used to automatically fill in a field for a user.

The text in the Default Value field needs to match the option from the Country or State dropdown field exactly. For example, the State dropdown field in the US address scheme includes a **District of Columbia** option. To use this as a default value, the text in the Default Value field will also need to read **District of Columbia**.

## Hiding Extra Sub-Fields

If your form doesn’t require sub-fields like **Address Line 2**, you can hide these extra sub-fields by changing the **Show** toggle switch to **Hide** for each field in the form builder.

![Hide extra sub-labels](https://wpforms.com/wp-content/uploads/2021/06/hide-extra-sub-labels.png)## Enabling Address Autocomplete

To use the address autocomplete feature, you’ll first need to [install and activate the Geolocation addon](https://wpforms.com/docs/how-to-install-and-use-the-geolocation-addon-with-wpforms/ "How to Install and Use the Geolocation Addon with WPForms").

**Requirements:** You will need a [Pro license level or higher](https://wpforms.com/pricing/) to access the Geolocation addon.

Then, under the **Advanced** tab, you can turn on the address autocomplete feature by selecting the **Enable Address Autocomplete** option.

![Enable address autocomplete](https://wpforms.com/wp-content/uploads/2021/07/enable-address-autocomplete.png)If you’d like, you can also choose to display an interactive map on the frontend of your forms by selecting the **Display Map** option.

![Display map](https://wpforms.com/wp-content/uploads/2021/07/display-map.png)Check out our [Address Field Autocomplete Form Template](https://wpforms.com/templates/address-autocomplete-contact-form-template/) for a live preview of this feature.

Once you’ve got everything set up, be sure to save your form.

That’s it! You can now customize your Address field options in WPForms.

Next, would you like to customize the rest of your form fields? Be sure to check out [our tutorial on customizing form field options](https://wpforms.com/docs/how-to-customize-form-field-options/) for details and lots of examples.

**Categories:** Fields, Advanced Form Features

---

