In This Article:

    Show Hong Kong districts in the State field when the Country field is Hong Kong

    In This Article:


      When a supporter chooses "Hong Kong" as a Country, Salsa does not provide Hong Kong's districts as states. This is an open issue with Salsa's developers. In the meantime, you can have those districts appear using a script.


      The solution was to add a script that waits for the Country code to be "Hong Kong". When that happens, the State field is populated with Hong Kong districts. Here are some steps that you can use to install this solution.

      1. Edit a template.  If you need this behavior Salsa-wide, then edit each of your active templates.
      2. Locate the </body> tag.
      3. Insert a blank link just before the </body> tag.
      4. Click here to see the page where the solution lives.
      5. Click on the Raw button.  A window will open that has only the solution content.


      1. Copy the contents of the window and close it.
      2. Return to the template editor.
      3. Paste the copied text into the newly inserted line in the template.
      4. Save the template.
      5. Test!


      If you have any questions, then please gather this information

      Send this information to, and we'll be glad to help.

      Was this article helpful?
      0 out of 0 found this helpful
      Have more questions? Submit a request



      Please sign in to leave a comment.