Title: Mailing Address
Last modified: August 21, 2016

---

# Mailing Address

 *  Resolved [mglasco](https://wordpress.org/support/users/mglasco/)
 * (@mglasco)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/mailing-address-1/)
 * Marked previous post resolved but actually the “fix” didn’t work for me. The 
   mailing address field is not passing through to mailchimp. I set it to not required
   on mailchimp but no data entered into that mail address field passes through,
   even if I use the proper formatting for a full address. Any advice?
 * Best,
    Myles
 * [http://wordpress.org/plugins/mailchimp-for-wp/](http://wordpress.org/plugins/mailchimp-for-wp/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/mailing-address-1/#post-4349556)
 * Hi Myles,
 * I’ll run some tests using an address field and will get back to you in a few 
   days. 🙂
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/mailing-address-1/#post-4349664)
 * Hi Myles,
 * I only just found the time to look into this. Turns out it is possible to add
   the necessary fields for an `address` fields in MailChimp without any changes
   to the plugin, although I will work on a way to make it a little easier.
 * Right now, you can include the following HTML in your form mark-up to render 
   the address fields.
 *     ```
       <p>
       	<label>Street Address:</label>
       	<input type="text" name="ADDRESS[addr1]" placeholder="Your address">
       </p>
   
       <p>
       	<label>City</label>
       	<input type="text" name="ADDRESS[city]" placeholder="Your city">
       </p>
   
       <p>
       	<label>State</label>
       	<input type="text" name="ADDRESS[state]" placeholder="Your state">
       </p>
   
       <p>
       	<label>ZIP Code:</label>
       	<input type="text" name="ADDRESS[zip]" placeholder="Your ZIP">
       </p>
   
       <p>
       	<label>Country:</label>
       	<input type="text" name="ADDRESS[country]" placeholder="Your Country">
       </p>
       ```
   
 * In this example, `ADDRESS` is the name of the list field in MailChimp.
 * The country has to be a two-lettered locale like `US` or `NL`. If you omit the
   country field in the form your default MailChimp country will be set.
 * Not sure how familiar you are with HTML but you can of course add more attributes
   or change the field types, for example to show a select box for the country.
 * Hope that pushes you off in the right direction. I will think of a way to include
   address fields in the “Add MailChimp field” tool so you can use that to generate
   the form HTML for you.
 *  [bswarnock](https://wordpress.org/support/users/bswarnock/)
 * (@bswarnock)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/mailing-address-1/#post-4349682)
 * What do you use for contact form 7? I tried for example: mc4wp-ADDRESS[addr1].
   The extra [] doesn’t work.
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/mailing-address-1/#post-4349684)
 * Hi there,
 * I’m not sure if you can set brackets as CF7 field names but I’m pretty sure you
   can just use the HTML I wrote above.
 *     ```
       <p>
       	<label>Street Address:</label>
       	<input type="text" name="ADDRESS[addr1]" placeholder="Your address">
       </p>
   
       <p>
       	<label>City</label>
       	<input type="text" name="ADDRESS[city]" placeholder="Your city">
       </p>
   
       <p>
       	<label>State</label>
       	<input type="text" name="ADDRESS[state]" placeholder="Your state">
       </p>
   
       <p>
       	<label>ZIP Code:</label>
       	<input type="text" name="ADDRESS[zip]" placeholder="Your ZIP">
       </p>
   
       <p>
       	<label>Country:</label>
       	<input type="text" name="ADDRESS[country]" placeholder="Your Country">
       </p>
       ```
   
 * In your email template, you can just use `[ADDRESS]` to display all the address
   values separated by a comma.
 * Hope that helps!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Mailing Address’ is closed to new replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/mailing-address-1/#post-4349684)
 * Status: resolved