# 50 States Popup Menu

**URL:** <https://community.textexpander.com/t/50-states-popup-menu/229>\
**Category:** TextExpander Talk\
**Tags:** snippets\
**Created:** [May 19, 2025, 2:08pm UTC](https://community.textexpander.com/t/50-states-popup-menu/229 "2025-05-19T14:08:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh.centers](https://sea3.discourse-cdn.com/textexpander/user_avatar/community.textexpander.com/josh.centers/32/8_2.png) [@josh.centers](https://community.textexpander.com/u/josh.centers)\
**Post date:** [May 19, 2025, 2:08pm UTC](https://community.textexpander.com/t/50-states-popup-menu/229/1 "2025-05-19T14:08:32Z")

</div>

I received a request by email for a Snippet with a Popup Menu for all 50 states much like we did for [dates](https://community.textexpander.com/t/date-picker-snippet-pick-your-own-picker/216). Subscribe to our [Community Snippets Public Group](https://snippets.textexpander.com/group/fa796ecbe167aeb836aced0a65e43b94) and then look for:

- `com.50states`: All 50 states in one Popup Menu.
- `com.50stateabr`: All 50 state abbreviations in one Popup Menu.

 ![Screenshot 2025-05-19 at 9.07.58 AM](https://us1.discourse-cdn.com/textexpander/original/1X/803c60a155f824d0c6a76ef708e50b6c20fb4bda.png)

As always, you can copy these Popup Menus from these Snippets and paste them into your own.

For more on how I created these, see this topic:

> [@Use ChatGPT to Generate TextExpander Checklists](https://community.textexpander.com/t/use-chatgpt-to-generate-textexpander-checklists/213):
>
> Have you ever wanted to create a Snippet with a long list of checkboxes, but didn’t want to go through the tedious steps of adding multiple Optional Sections? There is a much easier way, but give me a second, it’ll take a bit of explaining. I wanted to create a Snippet for a prompt to help ChatGPT create a custom workout plan based on the fitness equipment you have, with the idea being that you simply check the boxes for what you have. This list could have potentially hundreds of items, so it’d…

---

<div class="post-metadata">

**Author:** ![AmandaEdson](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@AmandaEdson](https://community.textexpander.com/u/AmandaEdson)\
**Post date:** [May 19, 2025, 6:37pm UTC](https://community.textexpander.com/t/50-states-popup-menu/229/2 "2025-05-19T18:37:13Z")

</div>

This is very useful! I apologize as I am not a programmer. What would the java code be for making a dropdown instead of a check box (I assume it is similar to %fillpart%%fillpartend% but not the same tag)

---

<div class="post-metadata">

**Author:** ![josh.centers](https://sea3.discourse-cdn.com/textexpander/user_avatar/community.textexpander.com/josh.centers/32/8_2.png) [@josh.centers](https://community.textexpander.com/u/josh.centers)\
**Post date:** [May 19, 2025, 6:42pm UTC](https://community.textexpander.com/t/50-states-popup-menu/229/3 "2025-05-19T18:42:09Z")

</div>

The raw code for this dropdown is:

`%fillpopup:AL:AK:AZ:AR:CA:CO:CT:DE:FL:GA:HI:ID:IL:IN:IA:KS:KY:LA:ME:MD:MA:MI:MN:MS:MO:MT:NE:NV:NH:NJ:NM:NY:NC:ND:OH:OK:OR:PA:RI:SC:SD:TN:TX:UT:VT:VA:WA:WV:WI:WY%`

For a checkbox, it would be:

```auto
%fillpart%AL%fillpartend%
%fillpart%AK%fillpartend%
%fillpart%AZ%fillpartend%
%fillpart%AR%fillpartend%
%fillpart%CA%fillpartend%
%fillpart%CO%fillpartend%
%fillpart%CT%fillpartend%
%fillpart%DE%fillpartend%
%fillpart%FL%fillpartend%
%fillpart%GA%fillpartend%
%fillpart%HI%fillpartend%
%fillpart%ID%fillpartend%
%fillpart%IL%fillpartend%
%fillpart%IN%fillpartend%
%fillpart%IA%fillpartend%
%fillpart%KS%fillpartend%
%fillpart%KY%fillpartend%
%fillpart%LA%fillpartend%
%fillpart%ME%fillpartend%
%fillpart%MD%fillpartend%
%fillpart%MA%fillpartend%
%fillpart%MI%fillpartend%
%fillpart%MN%fillpartend%
%fillpart%MS%fillpartend%
%fillpart%MO%fillpartend%
%fillpart%MT%fillpartend%
%fillpart%NE%fillpartend%
%fillpart%NV%fillpartend%
%fillpart%NH%fillpartend%
%fillpart%NJ%fillpartend%
%fillpart%NM%fillpartend%
%fillpart%NY%fillpartend%
%fillpart%NC%fillpartend%
%fillpart%ND%fillpartend%
%fillpart%OH%fillpartend%
%fillpart%OK%fillpartend%
%fillpart%OR%fillpartend%
%fillpart%PA%fillpartend%
%fillpart%RI%fillpartend%
%fillpart%SC%fillpartend%
%fillpart%SD%fillpartend%
%fillpart%TN%fillpartend%
%fillpart%TX%fillpartend%
%fillpart%UT%fillpartend%
%fillpart%VT%fillpartend%
%fillpart%VA%fillpartend%
%fillpart%WA%fillpartend%
%fillpart%WV%fillpartend%
%fillpart%WI%fillpartend%
%fillpart%WY%fillpartend%

```
