Skip to content

Instantly share code, notes, and snippets.

@aaronsummers
Last active December 18, 2023 19:45
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save aaronsummers/08d82c15b9039b58a60259b314a06ddb to your computer and use it in GitHub Desktop.
Save aaronsummers/08d82c15b9039b58a60259b314a06ddb to your computer and use it in GitHub Desktop.
Contact form 7 all fields and country dropdown
[text text class:classname class:otherclassname placeholder "placeholder"]
[email* email placeholder "Email Address"]
[url* url placeholder "http://..."]
[tel* tel placeholder "Phone no."]
[range* number-slider min:0 max:100 placeholder "Ammount"]
[number* number-spinbox min:0 max:100 placeholder "Ammount"]
[date* date placeholder "Start Date"]
[textarea* textarea placeholder "Textarea"]
[select* dropdown-menu first_as_label "Placeholder" "Option 1" "Option 2"]
[select* multiselect-dropdown-menu multiple first_as_label "Placeholder" "Option 1" "Option 2"]
[checkbox* checkbox "Option 1" "Option 2"]
[checkbox* checkbox-label-first label_first "Option 1" "Option 2"]
[checkbox* checkbox-label-wrapper use_label_element "Option 1" "Option 2"]
[radio* radio default:1 "Option 1" "Option 2"]
[radio* radio-label-first label_first default:1 "Option 1" "Option 2"]
[radio* radio-label-wrapper use_label_element default:1 "Option 1" "Option 2"]
[acceptance acceptance default:on] Accept terms [/acceptance] ( Additional settings ( acceptance_as_validation: on ) )
[quiz quiz "Question?|Answer" "Question?|Answer"]
[file* file limit:128mb filetypes:pdf|txt|docx]
<label for="country">
<h4>COUNTRY: *</h4>
[select* dropdown-menu first_as_label "Please select" "Afghanistan" "Albania" "Algeria" "Andorra" "Angola" "Antigua & Barbuda" "Argentina" "Armenia" "Australia" "Austria" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" "Barbados" "Belarus" "Belgium" "Belize" "Benin" "Bhutan" "Bolivia" "Bosnia & Herzegovina" "Botswana" "Brazil" "Brunei" "Bulgaria" "Burkina Faso" "Burundi" "Cambodia" "Cameroon" "Canada" "Cape Verde" "Central African Republic" "Chad" "Chile" "China" "Colombia" "Comoros" "Congo" "Congo Democratic Republic" "Costa Rica" "Cote d'Ivoire" "Croatia" "Cuba" "Cyprus" "Czech Republic" "Denmark" "Djibouti" "Dominica" "Dominican Republic" "Ecuador" "East Timor" "Egypt" "El Salvador" "Equatorial Guinea" "Eritrea" "Estonia" "Ethiopia" "Fiji" "Finland" "France" "Gabon" "Gambia" "Georgia" "Germany" "Ghana" "Greece" "Grenada" "Guatemala" "Guinea" "Guinea-Bissau" "Guyana" "Haiti" "Honduras" "Hungary" "Iceland" "India" "Indonesia" "Iran" "Iraq" "Ireland" "Israel" "Italy" "Jamaica" "Japan" "Jordan" "Kazakhstan" "Kenya" "Kiribati" "Korea North" "Korea South" "Kosovo" "Kuwait" "Kyrgyzstan" "Laos" "Latvia" "Lebanon" "Lesotho" "Liberia" "Libya" "Liechtenstein" "Lithuania" "Luxembourg" "Macedonia" "Madagascar" "Malawi" "Malaysia" "Maldives" "Mali" "Malta" "Marshall Islands" "Mauritania" "Mauritius" "Mexico" "Micronesia" "Moldova" "Monaco" "Mongolia" "Montenegro" "Morocco" "Mozambique" "Myanmar (Burma)" "Namibia" "Nauru" "Nepal" "The Netherlands" "New Zealand" "Nicaragua" "Niger" "Nigeria" "Norway" "Oman" "Pakistan" "Palau" "Palestinian State*" "Panama" "Papua New Guinea" "Paraguay" "Peru" "The Philippines" "Poland" "Portugal" "Qatar" "Romania" "Russia" "Rwanda" "St. Kitts & Nevis" "St. Lucia" "St. Vincent & The Grenadines" "Samoa" "San Marino" "Sao Tome & Principe" "Saudi Arabia" "Senegal" "Serbia" "Seychelles" "Sierra Leone" "Singapore" "Slovakia" "Slovenia" "Solomon Islands" "Somalia" "South Africa" "South Sudan" "Spain" "Sri Lanka" "Sudan" "Suriname" "Swaziland" "Sweden" "Switzerland" "Syria" "Taiwan" "Tajikistan" "Tanzania" "Thailand" "Togo" "Tonga" "Trinidad & Tobago" "Tunisia" "Turkey" "Turkmenistan" "Tuvalu" "Uganda" "Ukraine" "United Arab Emirates" "United Kingdom" "United States of America" "Uruguay" "Uzbekistan" "Vanuatu" "Vatican City (Holy See)" "Venezuela" "Vietnam" "Yemen" "Zambia" "Zimbabwe"]
</label>
[select* birth-day first_as_label "Day" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31"]
[select* birth-month first_as_label "Month" "January" "February" "March" "April" "May" "June" "July" "August" "September" "October" "November" "December"]
[select* birth-year first_as_label "Year" "2018" "2017" "2016" "2015" "2014" "2013" "2012" "2011" "2010" "2009" "2008" "2007" "2006" "2005" "2004" "2003" "2002" "2001" "2000" "1999" "1998" "1997" "1996" "1995" "1994" "1993" "1992" "1991" "1990" "1989" "1988" "1987" "1986" "1985" "1984" "1983" "1982" "1981" "1980" "1979" "1978" "1977" "1976" "1975" "1974" "1973" "1972" "1971" "1970" "1969" "1968" "1967" "1966" "1965" "1964" "1963" "1962" "1961" "1960" "1959" "1958" "1957" "1956" "1955" "1954" "1953" "1952" "1951" "1950" "1949" "1948" "1947" "1946" "1945"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment