# Country List Action

**URL:** https://discourse.softpress.com/t/country-list-action/25622
**Category:** Freeway
**Tags:** freeway-actions
**Created:** [February 13, 2013, 1:24pm UTC](https://discourse.softpress.com/t/country-list-action/25622 "2013-02-13T13:24:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Softpress](https://discourse.softpress.com/user_avatar/discourse.softpress.com/softpress/32/3486_2.png) [@Softpress](https://discourse.softpress.com/u/Softpress)
#### Post date: [February 13, 2013, 1:24pm UTC](https://discourse.softpress.com/t/country-list-action/25622/1 "2013-02-13T13:24:21Z")

</div>

Type of Action: Standalone Action. To use it, either click and hold on the Freeway tool, choose the Action from the list and draw an item on the page or go to Insert\>Action Item and choose the Action from the list.  
  
What the Action can do: This Action lets you do the following:  

- It lets you create a list of countries for use in a popup on a form or other page of your site.

It can be a very tedious to set up a Menu/List item to display every single country in the world - so you can use this Action to create a Menu/List dropdown menu instantly.  
  

 ![](https://discourse.softpress.com/uploads/default/original/2X/8/83247fb19cd3c89b9df85807cec6a26cafcd3f38.jpeg)  

  
To use the Action, click and hold on the **Actions** tool on Freeway's **tool bar** , choose **Country List** from the list of Actions then draw an item on your page. If you make the item around 19px or 20px high you will see the preview of a popup inside the item. If, however, you want to offer a "list" (rather than a popup) you can use a height for the item of at least 56px so the countries display as a scrollable list.   
  
With the item selected on your page, you can see the options in the **Actions palette** :  
  

 ![](https://discourse.softpress.com/uploads/default/original/2X/1/1e7b633f112d5ad5edb15f06036b84e362a85514.jpeg)  

  

- Name: This is the name you will see returned on the reply form if you use the Country List popup on a reply form (so it will display something like "country - belgium" (if Belgium is chosen as the country from the list) in the email you receive. You can change the name of the item to whatever you wish to use.
- Default: This lets you choose the country you want to appear in the popup list as the first choice.
- Edit Countries: Click this button to open a JavaScript prompt window where you can edit or add to the list of countries (see screenshot below).

  

 ![](https://discourse.softpress.com/uploads/default/original/2X/d/dd56e83d9711253840d7d30de7042cb0fc3a3e0d.jpeg)  

  

- Reset: Clears the default country and resets the country list to its default list (ie, before any edits or additions in the Edit Countries dialog).
