# Error addresses.country required

If you're encountering the error message **"addresses.country required"** when customers submit a form on your Shopify store, it indicates that the country field is missing or not properly configured. This is essential for Shopify to process customer registrations correctly.

**Solution: Add and Map a Hidden Country Field**

### Create a hidden field

1\. Open  the app > click **Forms** > open the form you want to edit

2\. Click **Elements** > **Add element** > select a **Hidden** element > Change the label of the field as your desire text

Customers can not see this field, only the admin can view this.

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FcH43rvkJONnZqAvuxooG%2F2025-10-07_14-50-49.png?alt=media&#x26;token=4b7869b3-eb12-4d73-a273-def7f74ea459" alt=""><figcaption></figcaption></figure>

3. Assign the value as a particular country that you want to add on

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2FGf70BGhidDj0y9evqcwF%2F2025-10-07_14-51-08.png?alt=media&#x26;token=6e3a3801-33b2-41bf-b22a-11dd097725b0" alt=""><figcaption></figcaption></figure>

4\. Click **Save**

### Map the hidden country field with Shopifycountry attribute

. Open the app > click **Forms** > open the form you want to edit

2\. Click **Settings** > **Integration** > **Shopify** > Enable checkbox **Create Shopify customer**

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2F0jfHIAMAZMHn6cPHfW9F%2Fshopify.png?alt=media&#x26;token=8d5f184c-7d69-44ce-8b97-d359be4ee82e" alt=""><figcaption></figcaption></figure>

3\. Select the **Hidden** of the form on the left to map with **Country** of Shopify on the right

<figure><img src="https://3488889492-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEGgRVSDpMlcGFz1igK0s%2Fuploads%2Fey8JB3SctYBRZh9cZAoy%2F2025-10-07_14-51-38.png?alt=media&#x26;token=57cc3895-3883-4aae-92c7-637617e04bd7" alt=""><figcaption></figcaption></figure>

4\. Click **Save**

Check out the result once more time on the form in the front-end site

<br>
