For a few of our clients, changing the country in a
Country field does not change the list of states. When they are updated, then the values stored in Salsa are strange looking things like
DE+A1. The solution in this document fixes both of these problems.
Please Note: This solution is not for everyone. Please employ this solution only if instructed to do so by one of our support staff. Have a question about whether or not this is right for you? Contact our support team!
The solution is to add a script to all of your templates that are used on pages that contain a
Country field. Here are some steps that you can use for each template:
- Edit the template. If you have only one template, then edit that.
- Locate the
</body>tag using the search tool in the browser.
- Insert a blank line just before the
- Copy this text:
- Paste the text into the newly inserted line.
- Save the template.
- Test, test, test!
Change the default country
If you want the default country to be something other than the United States, here are some steps that you can use.
- Find the section of the script that configures the default country.
USto the country of your choice. For example
If you have any questions, please collection this information:
chapter_KEYif you are in a chapter
template_KEYof the modified template
donate_page_KEYof a page that uses the template
- A screenshot, of possible
Send this information to firstname.lastname@example.org, and we'll be glad to help.