Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > List for a state drop-down menu in a bizform View modes: 
User avatar
Member
Member
JohnSD - 7/29/2010 2:12:47 PM
   
List for a state drop-down menu in a bizform
Here's a little time saver for anyone trying to add a state drop-down menu to your forms. Yes, you can find these online, but they're usually inside the html tags which doesn't work for Kentico. Here's just the plain-old value;name pair that Kentico requires for the bizforms...

AL;Alabama
AK;Alaska
AZ;Arizona
AR;Arkansas
CA;California
CO;Colorado
CT;Connecticut
DE;Delaware
FL;Florida
GA;Georgia
HI;Hawaii
ID;Idaho
IL;Illinois
IN;Indiana
IA;Iowa
KS;Kansas
KY;Kentucky
LA;Louisiana
ME;Maine
MD;Maryland
MA;Massachusetts
MI;Michigan
MN;Minnesota
MS;Mississippi
MO;Missouri
MT;Montana
NE;Nebraska
NV;Nevada
NH;New Hampshire
NJ;New Jersey
NM;New Mexico
NY;New York
NC;North Carolina
ND;North Dakota
OH;Ohio
OK;Oklahoma
OR;Oregon
PA;Pennsylvania
RI;Rhode Island
SC;South Carolina
SD;South Dakota
TN;Tennessee
TX;Texas
UT;Utah
VT;Vermont
VA;Virginia
WA;Washington
DC;Washington D.C.
WV;West Virginia
WI;Wisconsin
WY;Wyoming

User avatar
Member
Member
jjason-digiknow - 6/12/2012 4:06:01 PM
   
RE:List for a state drop-down menu in a bizform
Here's a list of Year pairs. Helpful for Age menus where Year is a separate drop-menu.

1900;1900
1901;1901
1902;1902
1903;1903
1904;1904
1905;1905
1906;1906
1907;1907
1908;1908
1909;1909
1910;1910
1911;1911
1912;1912
1913;1913
1914;1914
1915;1915
1916;1916
1917;1917
1918;1918
1919;1919
1920;1920
1921;1921
1922;1922
1923;1923
1924;1924
1925;1925
1926;1926
1927;1927
1928;1928
1929;1929
1930;1930
1931;1931
1932;1932
1933;1933
1934;1934
1935;1935
1936;1936
1937;1937
1938;1938
1939;1939
1940;1940
1941;1941
1942;1942
1943;1943
1944;1944
1945;1945
1946;1946
1947;1947
1948;1948
1949;1949
1950;1950
1951;1951
1952;1952
1953;1953
1954;1954
1955;1955
1956;1956
1957;1957
1958;1958
1959;1959
1960;1960
1961;1961
1962;1962
1963;1963
1964;1964
1965;1965
1966;1966
1967;1967
1968;1968
1969;1969
1970;1970
1971;1971
1972;1972
1973;1973
1974;1974
1975;1975
1976;1976
1977;1977
1978;1978
1979;1979
1980;1980
1981;1981
1982;1982
1983;1983
1984;1984
1985;1985
1986;1986
1987;1987
1988;1988
1989;1989
1990;1990
1991;1991
1992;1992
1993;1993
1994;1994
1995;1995
1996;1996
1997;1997
1998;1998
1999;1999
2000;2000
2001;2001
2002;2002
2003;2003
2004;2004
2005;2005
2006;2006
2007;2007
2008;2008
2009;2009
2010;2010
2011;2011
2012;2012

User avatar
Member
Member
gvmacintyre-gmail - 5/31/2013 10:49:15 AM
   
RE:List for a state drop-down menu in a bizform
Heres a list including the canadian provinces

AL;Alabama
AK;Alaska
AB;Alberta
AZ;Arizona
AR;Arkansas
BC;British Columbia
CA;California
CO;Colorado
CT;Connecticut
DE;Delaware
FL;Florida
GA;Georgia
HI;Hawaii
ID;Idaho
IL;Illinois
IN;Indiana
IA;Iowa
KS;Kansas
KY;Kentucky
LA;Louisiana
ME;Maine
MB;Manitoba
MD;Maryland
MA;Massachusetts
MI;Michigan
MN;Minnesota
MS;Mississippi
MO;Missouri
MT;Montana
NE;Nebraska
NV;Nevada
NL;Newfoundland and Labrador
NB;New Brunswick
NH;New Hampshire
NJ;New Jersey
NM;New Mexico
NY;New York
NC;North Carolina
ND;North Dakota
NS;Nova Scotia
OH;Ohio
OK;Oklahoma
ON;Ontario
OR;Oregon
PA;Pennsylvania
PE;Prince Edward Island
QC;Quebec
RI;Rhode Island
SK;Saskatchewan
SC;South Carolina
SD;South Dakota
TN;Tennessee
TX;Texas
UT;Utah
VT;Vermont
VA;Virginia
WA;Washington
DC;Washington D.C.
WV;West Virginia
WI;Wisconsin
WY;Wyoming

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/6/2013 7:28:29 AM
   
RE:List for a state drop-down menu in a bizform
Why not use the CMS_State table? Or create a custom table with the data? Or even better, create a form control?