Dropdown Shortcode Snippets

The following snippets of shortcode may be of use for dropdowns in e-sign docs and other forms. Feel free to copy and paste these into your own docs.

We’ll evolve this over time…

Note: Countries is built into SwiftCloud, just add

[swift_country_dropdown required]

USA States – Abbreviations (Note: Is missing DC, Guam, etc – add in if needed..)

[swift_state_dropdown option_values="AK, AL, AR, AZ, CA, CO, CT, DC, DE, FL, GA, HI, IA, ID, IL, IN, KS, KY, LA, MA, MD, ME, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, NY, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VA, VT, WA, WI, WV, WY" required]

USA States – Spelled Out (Note: Is missing DC, Guam, etc – add in if needed..)

[swift_state_dropdown option_values="Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming" required]

Canada Provinces – thanks to http://www.liststates.com/

[swift_state_dropdown option_values="Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland, Northwest Territories, Nova Scotia, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan, Yukon" required]

TIP: See http://www.liststates.com to generate for Mexico, Brazil, Mexico…

Makes of Cars Dropdown:

[swift_dropdown name="MAKE" option_values="Acura,Alfa Romeo,AMC,Aston Martin,Audi,Bentley,BMW,Bugatti,Buick,Cadillac,Chevrolet,Chrysler,Daewoo,Datsun,DeLorean,Dodge,Eagle,Ferrari,FIAT,Fisker,Ford,Freightliner,Geo,GMC,Honda,Hummer,Hyundai,Infiniti,Isuzu,Jaguar,Jeep,Kia,Lamborghini,Land Rover,Lexus,Lincoln,Lotus,Maserati,Maybach,Mazda,McLaren,Mercedes-Benz,Mercury,MINI,Mitsubishi,Nissan,Oldsmobile,Plymouth,Pontiac,Porsche,Rolls-Royce,Saab,Saturn,Scion,Smart,Subaru,Suzuki,Tesla,Toyota,Volkswagen,Volvo,Yugo" selected_option="Toyota"]

Need something else? Let us know and we’ll update this doc.

TIP: Search for whatever you like + “comma separated” – sometimes you’ll find it.

Was this article helpful?YesNo
Ah, sorry to hear this. We'll look into updating this item.
What could we do to improve this?