Title: Address field
Last modified: June 17, 2019

---

# Address field

 *  Resolved [pierremichaux](https://wordpress.org/support/users/pierremichaux/)
 * (@pierremichaux)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/address-field-5/)
 * Hi,
    I have a website in french and I would like to change the text of the address
   like Address Line 1, State/Province/Region Can I do that? Thank you, Pierre
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faddress-field-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ethan Choi](https://wordpress.org/support/users/ethanchoi/)
 * (@ethanchoi)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/address-field-5/#post-11649701)
 * Hi pierremichaux,
 * We don’t have a built-in way to change the Address field sublabels. However, 
   you can do this with some custom code:
 *     ```
       /**
       *
       * Change Address field sublabels for the 'International' address scheme
       *
       */
   
       function wpf_dev_address_field_properties( $properties, $field, $form_data ) {
   
         // check for address scheme
         if ( $field['scheme'] === 'international' ){
       	  // Change sublabel values
       	  $properties['inputs']['address1']['sublabel']['value'] = 'Address Line 1';
       	  $properties['inputs']['address2']['sublabel']['value'] = 'Address Line 2';
       	  $properties['inputs']['city']['sublabel']['value'] = 'City';
       	  $properties['inputs']['state']['sublabel']['value'] = 'State / Province / Region';
       	  $properties['inputs']['postal']['sublabel']['value'] = 'Postal Code';
       	  $properties['inputs']['country']['sublabel']['value'] = 'Country';
         	}
           return $properties;
       }
   
       add_filter( 'wpforms_field_properties_address' , 'wpf_dev_address_field_properties', 10, 3 );
       ```
   
 * In case it helps, here’s our tutorial with the most common [ways to add custom code](https://developers.wpforms.com/docs/how-to-add-custom-php-or-javascript-for-wpforms/)
   like this.
 * For the most beginner-friendly option in that tutorial, I’d recommend using the
   [Code Snippets plugin](http://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/).
 * I hope this helps! As a user of the paid version of WPForms, if you have further
   questions about paid features of WPForms, please contact us by [submitting a support ticket](https://wpforms.com/contact/).
   This is because WordPress.org rules do not allow support for paid features of
   WPForms on the support forum for WPForms Lite.
 * Thanks 🙂
    -  This reply was modified 6 years, 11 months ago by [Ethan Choi](https://wordpress.org/support/users/ethanchoi/).

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

## Tags

 * [address](https://wordpress.org/support/topic-tag/address/)
 * [text](https://wordpress.org/support/topic-tag/text/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ethan Choi](https://wordpress.org/support/users/ethanchoi/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/address-field-5/#post-11649701)
 * Status: resolved