Here is the code for WordPress CF7 (Contact form 7) with all states, using the first item as the select label.
[select * Local first_as_label "I live in" "Acre (AC)" "Alagoas (AL)" "Amapá (AP)" "Amazonas (AM)" "Bahia (BA)" "Ceará (CE)" "Federal District ( DF) "" Espírito Santo (ES) "" Goiás (GO) "" Maranhão (MA) "" Mato Grosso (MT) "" Mato Grosso do Sul (MS) "" Minas Gerais (MG) "" Pará (PA) "" Paraíba (PB) "" Paraná (PR) "" Pernambuco (PE) "" Piaui (PI) "" Rio de Janeiro (RJ) "" Rio Grande do Norte (RN) "" Rio Grande do Sul (RS) "" Rondônia (RO) "" Roraima (RR) "" Santa Catarina (SC) "" Sao Paulo (SP) "" Sergipe (SE) "" Tocantins (TO) "]
And the directly HTML version:
Select your state Acre (AC) Alagoas (AL) Amapá (AP) Amazonas (AM) Bahia (BA) Ceara (CE) Federal District (DF) Espírito Santo (ES) Goiás (GO) Maranhão (MA) Mato Grosso (MT) Mato Grosso do Sul (MS) Minas Gerais (MG) Para (PA) Paraíba (PB) Paraná (PR) Pernambuco (PE) Piaui (PI) Rio de Janeiro - RJ) Rio Grande do Norte (RN) Rio Grande do Sul (RS) Rondonia (RO) Roraima (RR) Santa Catarina (SC) Sao Paulo-SP) Sergipe (SE) Tocantins (TO)
In which both bring the following result:
Have questions or suggestions? Leave it in the comments!
Raphael Nogueira
Leave a Reply