Overview
Would you like to set the default Address Scheme to International for all of your WPForms? Currently, the default scheme when you add the field is set to US. However, you can change it to use the International scheme using a custom PHP snippet.
In this tutorial, we’ll walk you through how to change the Address field default scheme in WPForms.
Setup
To begin, you’ll need to copy a snippet to your site. If you need assistance in adding a code snippet, please review this tutorial.
Once the snippet is added, each time you add the Address field to your form, the Scheme will have International selected for you by default.
Note: This snippet will take effect on new forms created after you add it to your site. Existing forms will still retain the default scheme that was added when the form was created.
That’s it! You now know how to set the default scheme for the Address field in WPForms.
Next, would you like to create your own Schemes for the Address form field? Take a look at our guide on creating additional Schemes for the Address field.