// list of countries supported in netsuite var countryList = [{ "value": "US", "text": "United States" }, { "value": "AF", "text": "Afghanistan" }, { "value": "AX", "text": "Aland Islands" }, { "value": "AL", "text": "Albania" }, { "value": "DZ", "text": "Algeria" }, { "value": "AS", "text": "American Samoa" }, { "value": "AD", "text": "Andorra" }, { "value": "AO", "text": "Angola" }, { "value": "AI", "text": "Anguilla" }, { "value": "AQ", "text": "Antarctica" }, { "value": "AG", "text": "Antigua and Barbuda" }, { "value": "AR", "text": "Argentina" }, { "value": "AM", "text": "Armenia" }, { "value": "AW", "text": "Aruba" }, { "value": "AU", "text": "Australia" }, { "value": "AT", "text": "Austria" }, { "value": "AZ", "text": "Azerbaijan" }, { "value": "BS", "text": "Bahamas" }, { "value": "BH", "text": "Bahrain" }, { "value": "BD", "text": "Bangladesh" }, { "value": "BB", "text": "Barbados" }, { "value": "BY", "text": "Belarus" }, { "value": "BE", "text": "Belgium" }, { "value": "BZ", "text": "Belize" }, { "value": "BJ", "text": "Benin" }, { "value": "BM", "text": "Bermuda" }, { "value": "BT", "text": "Bhutan" }, { "value": "BO", "text": "Bolivia" }, { "value": "BQ", "text": "Bonaire, Saint Eustatius and Saba" }, { "value": "BA", "text": "Bosnia and Herzegovina" }, { "value": "BW", "text": "Botswana" }, { "value": "BV", "text": "Bouvet Island" }, { "value": "BR", "text": "Brazil" }, { "value": "IO", "text": "British Indian Ocean Territory" }, { "value": "BN", "text": "Brunei Darussalam" }, { "value": "BG", "text": "Bulgaria" }, { "value": "BF", "text": "Burkina Faso" }, { "value": "BI", "text": "Burundi" }, { "value": "KH", "text": "Cambodia" }, { "value": "CM", "text": "Cameroon" }, { "value": "CA", "text": "Canada" }, { "value": "IC", "text": "Canary Islands" }, { "value": "CV", "text": "Cape Verde" }, { "value": "KY", "text": "Cayman Islands" }, { "value": "CF", "text": "Central African Republic" }, { "value": "EA", "text": "Ceuta and Melilla" }, { "value": "TD", "text": "Chad" }, { "value": "CL", "text": "Chile" }, { "value": "CN", "text": "China" }, { "value": "CX", "text": "Christmas Island" }, { "value": "CC", "text": "Cocos (Keeling) Islands" }, { "value": "CO", "text": "Colombia" }, { "value": "KM", "text": "Comoros" }, { "value": "CD", "text": "Congo, Democratic Republic of" }, { "value": "CG", "text": "Congo, Republic of" }, { "value": "CK", "text": "Cook Islands" }, { "value": "CR", "text": "Costa Rica" }, { "value": "CI", "text": "Cote d'Ivoire" }, { "value": "HR", "text": "Croatia/Hrvatska" }, { "value": "CU", "text": "Cuba" }, { "value": "CW", "text": "Curaçao" }, { "value": "CY", "text": "Cyprus" }, { "value": "CZ", "text": "Czech Republic" }, { "value": "DK", "text": "Denmark" }, { "value": "DJ", "text": "Djibouti" }, { "value": "DM", "text": "Dominica" }, { "value": "DO", "text": "Dominican Republic" }, { "value": "TL", "text": "East Timor" }, { "value": "EC", "text": "Ecuador" }, { "value": "EG", "text": "Egypt" }, { "value": "SV", "text": "El Salvador" }, { "value": "GQ", "text": "Equatorial Guinea" }, { "value": "ER", "text": "Eritrea" }, { "value": "EE", "text": "Estonia" }, { "value": "ET", "text": "Ethiopia" }, { "value": "FK", "text": "Falkland Islands" }, { "value": "FO", "text": "Faroe Islands" }, { "value": "FJ", "text": "Fiji" }, { "value": "FI", "text": "Finland" }, { "value": "FR", "text": "France" }, { "value": "GF", "text": "French Guiana" }, { "value": "PF", "text": "French Polynesia" }, { "value": "TF", "text": "French Southern Territories" }, { "value": "GA", "text": "Gabon" }, { "value": "GM", "text": "Gambia" }, { "value": "GE", "text": "Georgia" }, { "value": "DE", "text": "Germany" }, { "value": "GH", "text": "Ghana" }, { "value": "GI", "text": "Gibraltar" }, { "value": "GR", "text": "Greece" }, { "value": "GL", "text": "Greenland" }, { "value": "GD", "text": "Grenada" }, { "value": "GP", "text": "Guadeloupe" }, { "value": "GU", "text": "Guam" }, { "value": "GT", "text": "Guatemala" }, { "value": "GG", "text": "Guernsey" }, { "value": "GN", "text": "Guinea" }, { "value": "GW", "text": "Guinea-Bissau" }, { "value": "GY", "text": "Guyana" }, { "value": "HT", "text": "Haiti" }, { "value": "HM", "text": "Heard and McDonald Islands" }, { "value": "VA", "text": "Holy See (City Vatican State)" }, { "value": "HN", "text": "Honduras" }, { "value": "HK", "text": "Hong Kong" }, { "value": "HU", "text": "Hungary" }, { "value": "IS", "text": "Iceland" }, { "value": "IN", "text": "India" }, { "value": "ID", "text": "Indonesia" }, { "value": "IR", "text": "Iran (Islamic Republic of)" }, { "value": "IQ", "text": "Iraq" }, { "value": "IE", "text": "Ireland" }, { "value": "IM", "text": "Isle of Man" }, { "value": "IL", "text": "Israel" }, { "value": "IT", "text": "Italy" }, { "value": "JM", "text": "Jamaica" }, { "value": "JP", "text": "Japan" }, { "value": "JE", "text": "Jersey" }, { "value": "JO", "text": "Jordan" }, { "value": "KZ", "text": "Kazakhstan" }, { "value": "KE", "text": "Kenya" }, { "value": "KI", "text": "Kiribati" }, { "value": "KP", "text": "Korea, Democratic People's Republic" }, { "value": "KR", "text": "Korea, Republic of" }, { "value": "XK", "text": "Kosovo" }, { "value": "KW", "text": "Kuwait" }, { "value": "KG", "text": "Kyrgyzstan" }, { "value": "LA", "text": "Lao People's Democratic Republic" }, { "value": "LV", "text": "Latvia" }, { "value": "LB", "text": "Lebanon" }, { "value": "LS", "text": "Lesotho" }, { "value": "LR", "text": "Liberia" }, { "value": "LY", "text": "Libya" }, { "value": "LI", "text": "Liechtenstein" }, { "value": "LT", "text": "Lithuania" }, { "value": "LU", "text": "Luxembourg" }, { "value": "MO", "text": "Macau" }, { "value": "MK", "text": "Macedonia" }, { "value": "MG", "text": "Madagascar" }, { "value": "MW", "text": "Malawi" }, { "value": "MY", "text": "Malaysia" }, { "value": "MV", "text": "Maldives" }, { "value": "ML", "text": "Mali" }, { "value": "MT", "text": "Malta" }, { "value": "MH", "text": "Marshall Islands" }, { "value": "MQ", "text": "Martinique" }, { "value": "MR", "text": "Mauritania" }, { "value": "MU", "text": "Mauritius" }, { "value": "YT", "text": "Mayotte" }, { "value": "MX", "text": "Mexico" }, { "value": "FM", "text": "Micronesia, Federal State of" }, { "value": "MD", "text": "Moldova, Republic of" }, { "value": "MC", "text": "Monaco" }, { "value": "MN", "text": "Mongolia" }, { "value": "ME", "text": "Montenegro" }, { "value": "MS", "text": "Montserrat" }, { "value": "MA", "text": "Morocco" }, { "value": "MZ", "text": "Mozambique" }, { "value": "MM", "text": "Myanmar (Burma)" }, { "value": "NA", "text": "Namibia" }, { "value": "NR", "text": "Nauru" }, { "value": "NP", "text": "Nepal" }, { "value": "NL", "text": "Netherlands" }, { "value": "AN", "text": "Netherlands Antilles (Deprecated)" }, { "value": "NC", "text": "New Caledonia" }, { "value": "NZ", "text": "New Zealand" }, { "value": "NI", "text": "Nicaragua" }, { "value": "NE", "text": "Niger" }, { "value": "NG", "text": "Nigeria" }, { "value": "NU", "text": "Niue" }, { "value": "NF", "text": "Norfolk Island" }, { "value": "MP", "text": "Northern Mariana Islands" }, { "value": "NO", "text": "Norway" }, { "value": "OM", "text": "Oman" }, { "value": "PK", "text": "Pakistan" }, { "value": "PW", "text": "Palau" }, { "value": "PS", "text": "Palestinian Territories" }, { "value": "PA", "text": "Panama" }, { "value": "PG", "text": "Papua New Guinea" }, { "value": "PY", "text": "Paraguay" }, { "value": "PE", "text": "Peru" }, { "value": "PH", "text": "Philippines" }, { "value": "PN", "text": "Pitcairn Island" }, { "value": "PL", "text": "Poland" }, { "value": "PT", "text": "Portugal" }, { "value": "PR", "text": "Puerto Rico" }, { "value": "QA", "text": "Qatar" }, { "value": "RE", "text": "Reunion Island" }, { "value": "RO", "text": "Romania" }, { "value": "RU", "text": "Russian Federation" }, { "value": "RW", "text": "Rwanda" }, { "value": "BL", "text": "Saint Barthélemy" }, { "value": "SH", "text": "Saint Helena" }, { "value": "KN", "text": "Saint Kitts and Nevis" }, { "value": "LC", "text": "Saint Lucia" }, { "value": "MF", "text": "Saint Martin" }, { "value": "VC", "text": "Saint Vincent and the Grenadines" }, { "value": "WS", "text": "Samoa" }, { "value": "SM", "text": "San Marino" }, { "value": "ST", "text": "Sao Tome and Principe" }, { "value": "SA", "text": "Saudi Arabia" }, { "value": "SN", "text": "Senegal" }, { "value": "RS", "text": "Serbia" }, { "value": "CS", "text": "Serbia and Montenegro (Deprecated)" }, { "value": "SC", "text": "Seychelles" }, { "value": "SL", "text": "Sierra Leone" }, { "value": "SG", "text": "Singapore" }, { "value": "SX", "text": "Sint Maarten" }, { "value": "SK", "text": "Slovak Republic" }, { "value": "SI", "text": "Slovenia" }, { "value": "SB", "text": "Solomon Islands" }, { "value": "SO", "text": "Somalia" }, { "value": "ZA", "text": "South Africa" }, { "value": "GS", "text": "South Georgia" }, { "value": "SS", "text": "South Sudan" }, { "value": "ES", "text": "Spain" }, { "value": "LK", "text": "Sri Lanka" }, { "value": "PM", "text": "St. Pierre and Miquelon" }, { "value": "SD", "text": "Sudan" }, { "value": "SR", "text": "Suriname" }, { "value": "SJ", "text": "Svalbard and Jan Mayen Islands" }, { "value": "SZ", "text": "Swaziland" }, { "value": "SE", "text": "Sweden" }, { "value": "CH", "text": "Switzerland" }, { "value": "SY", "text": "Syrian Arab Republic" }, { "value": "TW", "text": "Taiwan" }, { "value": "TJ", "text": "Tajikistan" }, { "value": "TZ", "text": "Tanzania" }, { "value": "TH", "text": "Thailand" }, { "value": "TG", "text": "Togo" }, { "value": "TK", "text": "Tokelau" }, { "value": "TO", "text": "Tonga" }, { "value": "TT", "text": "Trinidad and Tobago" }, { "value": "TN", "text": "Tunisia" ...