Home / Blog / Business Management / How Does the Six Forces Model Help Businesses Assess a Market’s Competitiveness and Attractiveness?
- Meaning of the Six Forces Model
- The Six Forces Model that Impacts Business
- And It’s a Wrap
View All
Business is not as easy as it seems. The overall profit depends on multiple factors. Business owners go through several challenges, including market and finance. Business is always about making important changes. There are various factors of business changes that can affect the profitability of that particular business. In 1979, Michael Porter an American academic introduced the five forces of the business strategy framework to shape the business. Later, in the mid-90s, Porter added the sixth force to the existing fives. Therefore, let’s explore the six forces model in this blog.
But before exploring the sic forces model, let’s understand its meaning.
The six forces model is useful in recognizing and analyzing the competitive marketplace and how that impacts strategies. This business model covers the subtleties of the clients, the capacity of suppliers, the risk factor, the different existing competitors, the threat of a new entrant in the market, and complementary product forces. This is to understand the business’s strategic position in a competitive marketplace.
The Six Forces Model that Impacts Business
Business strategic position in the market is influenced by the following six forces model:
1# Existing Rivals
The first force in the model indicates the number of existing competitors of a particular business. It also refers to the competitor’s potential to destabilize a company. The increasing number of rivals and their equivalent products can lessen the potential of a company.
Suppliers and consumers try to find a rival company if they see they have the potential to offer better deal or less expensive deals. On the contrary, when competition is low, a company has more chances of being expensive, and they try to achieve more sales and profits.
2# Power of the Suppliers
The second force in the Porter model focuses on the ease of understanding the increase in input costs. However, the number of suppliers for a good or service affects the factor of the uniqueness of input and how much a supplier switch may cost a company. Simply put, the lesser number of suppliers leads to more chances of a company being dependent on a supplier.
This causes the supplier to be left with more power to raise the input cost. Conversely, if there are more suppliers or the switching cost is low, then a business can lower its input cost and increase its profit.
3# Power of Customers
The next force in the model makes the customer lower the price or the power. It depends on the number of buyers or customers of the company, the importance of each customer, and the expenses of a company to find new customers for an output.
A smaller and potentially strong customer base means that each customer has additional power to bargain for lower prices and better deals. For a company with several smaller customers, it is easier to quote high prices to make way for more profit.
Also read:Understanding Customer Journey
4# Potential Competitors
The force of potential competitors also affects a company’s capacity. A potentially stable company can have a weak position if a competitor enters the market with less time and money.
5# Threat of Substitution
Next in the model is the fifth force which is the threat of substitution. It can be threatening to use substitute goods or services in place of the company’s goods and services. Products or services without potential substitutes have more companies that produce products or services without close alternatives. And will have more ability to increase the prices and enclose promising terms. The availability of substitutes enables the customers to go without buying a product from the company’s making the power of the company weaken over time.
6# Complementary Products
The sixth and the last force amended in the revised 1990s model refers to the compatible products or services with a certain industry. In simple terms, it refers to competition. The reliability of the compatible product for the goods and services determines the efficacy of the complementary goods of a business. The interdependence of the two increases the chances of their impact on the business.
This impact refers to the result in which one defines the positive or negative impact on profitability. The company’s profitability is positive when the complementary goods do well in the market. Conversely, the rather worse performance of the complementary goods, or there is a chance of increasing prices, would negatively affect the profitability.
Also Read:SOP for Business Management: Your Guide to Success
Industry structure is unpredictable. With time the power of buyers and suppliers will vary from more to less. The probability of a new entry or substitute can be affected by technological advancements. This is how these six forces are essential to have an impact on the business.
This understanding of Michael E Porter’s six forces model makes a company make adjustments to its business in order to generate higher earnings for its stakeholders. It is extremely helpful to foresee the industry’s structural change.
Learn all aspects of business by enrolling in business management courses and business analytics courses hosted by Emeritus. Learn how to transform your business through impactful business strategies.
Tutorials business management Competitor Analysis
About the Author
N
Content Writer, Emeritus BlogNikhil is a passionate and free-spirited writer with 4+ years of experience. He has a keen eye for the ever-evolving content landscape, which helps him craft captivating content across various genres. He writes about marketing, data science, and finance for the Emeritus Blog. Beyond work, Nikhil is a dedicated pet parent who loves leisurely walks with his beloved puppers.
Read More About the Author
Accelerate your career with the right programme
Share your details and let our experts guide you
Looking to upskill? Talk to us.
') .hide() .fadeIn(300, function() { jQuery('.success-msg-wrap').show(); }) .delay(2000) .fadeOut(500, function() { jQuery('.success-msg-wrap').hide(); }); if (jQuery(window).width() < 768) { jQuery('html,body').animate({ scrollTop: jQuery(".success-msg-wrap").offset().top - 80}, 1200); } LUX.addData('lead-form-submit', 'check-upcoming-programs'); console.log("submitted"); } else { // Handle the error response here jQuery('#frmleadsurvey')[0].reset(); jQuery('input#country_code_leadsurvey').attr("value", "+91"); jQuery("#explicitOptIn_leadsurvey").css("display", "none"); jQuery("#implicitOptIn_leadsurvey").css("display", "block"); btn.val("Submit", true); trackPoint.trigger({"type":"click","event":"lead-form","event_properties":{"lead-form":{"label": "submit"},"content_data":{"sectionName":"check-upcoming-programs","uiComponent":"componentLeadForm"},"program":{"program_name":"Others","psfid":"01tAy000000EsqQIAS","school_name":"","category":""}}}); jQuery('#req_call_back_fail_msg').html('
It seems that our server is currently experiencing some technical difficulties.
Please try again later. We apologize for the inconvenience.
') .hide() .fadeIn(300, function() { jQuery('#req_call_back_fail_msg').show(); }) .delay(2000) .fadeOut(500, function() { jQuery('#req_call_back_fail_msg').hide(); }); if (jQuery(window).width() < 768) { jQuery('html,body').animate({ scrollTop: jQuery("#req_call_back_fail_msg").offset().top - 80}, 1200); } LUX.addData('lead-form-submit', 'check-upcoming-programs'); console.log("submitted"); } } // form.submit(); } ); } }); //WEB-2432-Avoid an excessive DOM size var countryList = [{"country":"Afghanistan","code":"+93","data-select":"","gdpr":"0","value":"Afghanistan"},{"country":"Aland Islands","code":"+358","data-select":"","gdpr":"0","value":"Aland Islands"},{"country":"Albania","code":"+355","data-select":"","gdpr":"0","value":"Albania"},{"country":"Algeria","code":"+213","data-select":"","gdpr":"0","value":"Algeria"},{"country":"American Samoa","code":"+1","data-select":"","gdpr":"0","value":"American Samoa"},{"country":"Andorra","code":"+376","data-select":"","gdpr":"0","value":"Andorra"},{"country":"Angola","code":"+244","data-select":"","gdpr":"0","value":"Angola"},{"country":"Anguilla","code":"+1","data-select":"","gdpr":"0","value":"Anguilla"},{"country":"Antarctica","code":"+672","data-select":"","gdpr":"0","value":"Antarctica"},{"country":"Antigua and Barbuda","code":"+1","data-select":"","gdpr":"0","value":"Antigua and Barbuda"},{"country":"Argentina","code":"+54","data-select":"","gdpr":"0","value":"Argentina"},{"country":"Armenia","code":"+374","data-select":"","gdpr":"0","value":"Armenia"},{"country":"Aruba","code":"+297","data-select":"","gdpr":"0","value":"Aruba"},{"country":"Australia","code":"+61","data-select":"","gdpr":"0","value":"Australia"},{"country":"Austria","code":"+43","data-select":"","gdpr":"1","value":"Austria"},{"country":"Azerbaijan","code":"+994","data-select":"","gdpr":"0","value":"Azerbaijan"},{"country":"Bahamas","code":"+1","data-select":"","gdpr":"0","value":"Bahamas"},{"country":"Bahrain","code":"+973","data-select":"","gdpr":"0","value":"Bahrain"},{"country":"Bangladesh","code":"+880","data-select":"","gdpr":"0","value":"Bangladesh"},{"country":"Barbados","code":"+1","data-select":"","gdpr":"0","value":"Barbados"},{"country":"Belarus","code":"+375","data-select":"","gdpr":"0","value":"Belarus"},{"country":"Belgium","code":"+32","data-select":"","gdpr":"1","value":"Belgium"},{"country":"Belize","code":"+501","data-select":"","gdpr":"0","value":"Belize"},{"country":"Benin","code":"+229","data-select":"","gdpr":"0","value":"Benin"},{"country":"Bermuda","code":"+1","data-select":"","gdpr":"0","value":"Bermuda"},{"country":"Bhutan","code":"+975","data-select":"","gdpr":"0","value":"Bhutan"},{"country":"Bolivia","code":"+591","data-select":"","gdpr":"0","value":"Bolivia"},{"country":"Bonaire, Sint Eustatius and Saba","code":"+599","data-select":"","gdpr":"0","value":"Bonaire, Sint Eustatius and Saba"},{"country":"Bosnia and Herzegovina","code":"+387","data-select":"","gdpr":"0","value":"Bosnia and Herzegovina"},{"country":"Botswana","code":"+267","data-select":"","gdpr":"0","value":"Botswana"},{"country":"Bouvet Island","code":"+47","data-select":"","gdpr":"0","value":"Bouvet Island"},{"country":"Brazil","code":"+55","data-select":"","gdpr":"1","value":"Brazil"},{"country":"British Indian Ocean Territory","code":"+246","data-select":"","gdpr":"0","value":"British Indian Ocean Territory"},{"country":"Brunei","code":"+673","data-select":"","gdpr":"0","value":"Brunei"},{"country":"Bulgaria","code":"+357","data-select":"","gdpr":"1","value":"Bulgaria"},{"country":"Burkina Faso","code":"+226","data-select":"","gdpr":"0","value":"Burkina Faso"},{"country":"Burundi","code":"+257","data-select":"","gdpr":"0","value":"Burundi"},{"country":"Cambodia","code":"+855","data-select":"","gdpr":"0","value":"Cambodia"},{"country":"Cameroon","code":"+237","data-select":"","gdpr":"0","value":"Cameroon"},{"country":"Canada","code":"+1","data-select":"","gdpr":"0","value":"Canada"},{"country":"Cape Verde","code":"+238","data-select":"","gdpr":"0","value":"Cape Verde"},{"country":"Cayman Islands","code":"+1","data-select":"","gdpr":"0","value":"Cayman Islands"},{"country":"Central African Republic","code":"+236","data-select":"","gdpr":"0","value":"Central African Republic"},{"country":"Chad","code":"+235","data-select":"","gdpr":"0","value":"Chad"},{"country":"Chile","code":"+56","data-select":"","gdpr":"0","value":"Chile"},{"country":"China","code":"+86","data-select":"","gdpr":"0","value":"China"},{"country":"Christmas Island","code":"+61","data-select":"","gdpr":"0","value":"Christmas Island"},{"country":"Cocos (Keeling) Islands","code":"+61","data-select":"","gdpr":"0","value":"Cocos (Keeling) Islands"},{"country":"Colombia","code":"+57","data-select":"","gdpr":"0","value":"Colombia"},{"country":"Comoros","code":"+269","data-select":"","gdpr":"0","value":"Comoros"},{"country":"Congo","code":"+242","data-select":"","gdpr":"0","value":"Congo"},{"country":"Cook Islands","code":"+682","data-select":"","gdpr":"0","value":"Cook Islands"},{"country":"Costa Rica","code":"+506","data-select":"","gdpr":"1","value":"Costa Rica"},{"country":"Croatia","code":"+385","data-select":"","gdpr":"1","value":"Croatia"},{"country":"Cuba","code":"+53","data-select":"","gdpr":"0","value":"Cuba"},{"country":"Cura\u00e7ao","code":"+599","data-select":"","gdpr":"0","value":"Cura\u00e7ao"},{"country":"Cyprus","code":"+357","data-select":"","gdpr":"1","value":"Cyprus"},{"country":"Czech Republic","code":"+420","data-select":"","gdpr":"1","value":"Czech Republic"},{"country":"C\u00f4te d\u2019Ivoire","code":"+225","data-select":"","gdpr":"0","value":"C\u00f4te d\u2019Ivoire"},{"country":"Democratic Republic of the Congo","code":"+243","data-select":"","gdpr":"0","value":"Democratic Republic of the Congo"},{"country":"Denmark","code":"+45","data-select":"","gdpr":"1","value":"Denmark"},{"country":"Djibouti","code":"+253","data-select":"","gdpr":"0","value":"Djibouti"},{"country":"Dominica","code":"+1","data-select":"","gdpr":"0","value":"Dominica"},{"country":"Dominican Republic","code":"+1","data-select":"","gdpr":"0","value":"Dominican Republic"},{"country":"Ecuador","code":"+593","data-select":"","gdpr":"0","value":"Ecuador"},{"country":"Egypt","code":"+20","data-select":"","gdpr":"0","value":"Egypt"},{"country":"El Salvador","code":"+503","data-select":"","gdpr":"0","value":"El Salvador"},{"country":"Equatorial Guinea","code":"+240","data-select":"","gdpr":"0","value":"Equatorial Guinea"},{"country":"Eritrea","code":"+291","data-select":"","gdpr":"0","value":"Eritrea"},{"country":"Estonia","code":"+372","data-select":"","gdpr":"1","value":"Estonia"},{"country":"Ethiopia","code":"+250","data-select":"","gdpr":"0","value":"Ethiopia"},{"country":"Falkland Islands","code":"+500","data-select":"","gdpr":"0","value":"Falkland Islands"},{"country":"Faroe Islands","code":"+298","data-select":"","gdpr":"0","value":"Faroe Islands"},{"country":"Fiji","code":"+679","data-select":"","gdpr":"0","value":"Fiji"},{"country":"Finland","code":"+358","data-select":"","gdpr":"1","value":"Finland"},{"country":"France","code":"+33","data-select":"","gdpr":"1","value":"France"},{"country":"French Guiana","code":"+594","data-select":"","gdpr":"1","value":"French Guiana"},{"country":"French Polynesia","code":"+689","data-select":"","gdpr":"0","value":"French Polynesia"},{"country":"French Southern Territories","code":"+33","data-select":"","gdpr":"0","value":"French Southern Territories"},{"country":"Gabon","code":"+241","data-select":"","gdpr":"0","value":"Gabon"},{"country":"Gambia","code":"+220","data-select":"","gdpr":"0","value":"Gambia"},{"country":"Georgia","code":"+995","data-select":"","gdpr":"0","value":"Georgia"},{"country":"Germany","code":"+49","data-select":"","gdpr":"1","value":"Germany"},{"country":"Ghana","code":"+233","data-select":"","gdpr":"0","value":"Ghana"},{"country":"Gibraltar","code":"+350","data-select":"","gdpr":"0","value":"Gibraltar"},{"country":"Greece","code":"+30","data-select":"","gdpr":"1","value":"Greece"},{"country":"Greenland","code":"+299","data-select":"","gdpr":"0","value":"Greenland"},{"country":"Grenada","code":"+1","data-select":"","gdpr":"0","value":"Grenada"},{"country":"Guadeloupe","code":"+590","data-select":"","gdpr":"1","value":"Guadeloupe"},{"country":"Guam","code":"+1","data-select":"","gdpr":"0","value":"Guam"},{"country":"Guatemala","code":"+502","data-select":"","gdpr":"0","value":"Guatemala"},{"country":"Guernsey","code":"+44","data-select":"","gdpr":"0","value":"Guernsey"},{"country":"Guinea","code":"+224","data-select":"","gdpr":"0","value":"Guinea"},{"country":"Guinea-Bissau","code":"+245","data-select":"","gdpr":"0","value":"Guinea-Bissau"},{"country":"Guyana","code":"+592","data-select":"","gdpr":"0","value":"Guyana"},{"country":"Haiti","code":"+509","data-select":"","gdpr":"0","value":"Haiti"},{"country":"Heard Island and McDonald Islands","code":"+61","data-select":"","gdpr":"0","value":"Heard Island and McDonald Islands"},{"country":"Honduras","code":"+504","data-select":"","gdpr":"0","value":"Honduras"},{"country":"Hong Kong S.A.R., China","code":"+852","data-select":"","gdpr":"0","value":"Hong Kong S.A.R., China"},{"country":"Hungary","code":"+36","data-select":"","gdpr":"1","value":"Hungary"},{"country":"Iceland","code":"+354","data-select":"","gdpr":"1","value":"Iceland"},{"country":"Independent State of Samoa","code":"+685","data-select":"","gdpr":"0","value":"Independent State of Samoa"},{"country":"India","code":"+91","data-select":"selected","gdpr":"0","value":"India"},{"country":"Indonesia","code":"+62","data-select":"","gdpr":"0","value":"Indonesia"},{"country":"Iran","code":"+98","data-select":"","gdpr":"0","value":"Iran"},{"country":"Iraq","code":"+964","data-select":"","gdpr":"0","value":"Iraq"},{"country":"Ireland","code":"+353","data-select":"","gdpr":"1","value":"Ireland"},{"country":"Isle of Man","code":"+44","data-select":"","gdpr":"0","value":"Isle of Man"},{"country":"Israel","code":"+972","data-select":"","gdpr":"0","value":"Israel"},{"country":"Italy","code":"+39","data-select":"","gdpr":"1","value":"Italy"},{"country":"Jamaica","code":"+1","data-select":"","gdpr":"0","value":"Jamaica"},{"country":"Japan","code":"+81","data-select":"","gdpr":"0","value":"Japan"},{"country":"Jersey","code":"+44","data-select":"","gdpr":"0","value":"Jersey"},{"country":"Jordan","code":"+962","data-select":"","gdpr":"0","value":"Jordan"},{"country":"Kazakhstan","code":"+7","data-select":"","gdpr":"0","value":"Kazakhstan"},{"country":"Kenya","code":"+254","data-select":"","gdpr":"0","value":"Kenya"},{"country":"Kiribati","code":"+686","data-select":"","gdpr":"0","value":"Kiribati"},{"country":"Kuwait","code":"+965","data-select":"","gdpr":"0","value":"Kuwait"},{"country":"Kyrgyzstan","code":"+996","data-select":"","gdpr":"0","value":"Kyrgyzstan"},{"country":"Laos","code":"+856","data-select":"","gdpr":"0","value":"Laos"},{"country":"Latvia","code":"+371","data-select":"","gdpr":"1","value":"Latvia"},{"country":"Lebanon","code":"+961","data-select":"","gdpr":"0","value":"Lebanon"},{"country":"Lesotho","code":"+266","data-select":"","gdpr":"0","value":"Lesotho"},{"country":"Liberia","code":"+231","data-select":"","gdpr":"0","value":"Liberia"},{"country":"Libya","code":"+218","data-select":"","gdpr":"0","value":"Libya"},{"country":"Liechtenstein","code":"+423","data-select":"","gdpr":"1","value":"Liechtenstein"},{"country":"Lithuania","code":"+370","data-select":"","gdpr":"1","value":"Lithuania"},{"country":"Luxembourg","code":"+352","data-select":"","gdpr":"1","value":"Luxembourg"},{"country":"Macao S.A.R., China","code":"+853","data-select":"","gdpr":"0","value":"Macao S.A.R., China"},{"country":"Macedonia","code":"+389","data-select":"","gdpr":"0","value":"Macedonia"},{"country":"Madagascar","code":"+261","data-select":"","gdpr":"0","value":"Madagascar"},{"country":"Malawi","code":"+265","data-select":"","gdpr":"0","value":"Malawi"},{"country":"Malaysia","code":"+60","data-select":"","gdpr":"0","value":"Malaysia"},{"country":"Maldives","code":"+960","data-select":"","gdpr":"0","value":"Maldives"},{"country":"Mali","code":"+223","data-select":"","gdpr":"0","value":"Mali"},{"country":"Malta","code":"+356","data-select":"","gdpr":"1","value":"Malta"},{"country":"Marshall Islands","code":"+692","data-select":"","gdpr":"0","value":"Marshall Islands"},{"country":"Martinique","code":"+596","data-select":"","gdpr":"1","value":"Martinique"},{"country":"Mauritania","code":"+222","data-select":"","gdpr":"0","value":"Mauritania"},{"country":"Mauritius","code":"+230","data-select":"","gdpr":"0","value":"Mauritius"},{"country":"Mayotte","code":"+262","data-select":"","gdpr":"1","value":"Mayotte"},{"country":"Mexico","code":"+52","data-select":"","gdpr":"0","value":"Mexico"},{"country":"Micronesia, Federated States of","code":"+691","data-select":"","gdpr":"0","value":"Micronesia, Federated States of"},{"country":"Moldova, Republic of","code":"+373","data-select":"","gdpr":"0","value":"Moldova, Republic of"},{"country":"Monaco","code":"+377","data-select":"","gdpr":"0","value":"Monaco"},{"country":"Mongolia","code":"+976","data-select":"","gdpr":"0","value":"Mongolia"},{"country":"Montenegro","code":"+382","data-select":"","gdpr":"0","value":"Montenegro"},{"country":"Montserrat","code":"+1","data-select":"","gdpr":"0","value":"Montserrat"},{"country":"Morocco","code":"+212","data-select":"","gdpr":"0","value":"Morocco"},{"country":"Mozambique","code":"+258","data-select":"","gdpr":"0","value":"Mozambique"},{"country":"Myanmar","code":"+95","data-select":"","gdpr":"0","value":"Myanmar"},{"country":"Namibia","code":"+264","data-select":"","gdpr":"0","value":"Namibia"},{"country":"Nauru","code":"+674","data-select":"","gdpr":"0","value":"Nauru"},{"country":"Nepal","code":"+977","data-select":"","gdpr":"0","value":"Nepal"},{"country":"Netherlands","code":"+31","data-select":"","gdpr":"1","value":"Netherlands"},{"country":"New Caledonia","code":"+687","data-select":"","gdpr":"0","value":"New Caledonia"},{"country":"New Zealand","code":"+64","data-select":"","gdpr":"0","value":"New Zealand"},{"country":"Nicaragua","code":"+505","data-select":"","gdpr":"0","value":"Nicaragua"},{"country":"Niger","code":"+227","data-select":"","gdpr":"0","value":"Niger"},{"country":"Nigeria","code":"+234","data-select":"","gdpr":"0","value":"Nigeria"},{"country":"Niue","code":"+683","data-select":"","gdpr":"0","value":"Niue"},{"country":"Norfolk Island","code":"+672","data-select":"","gdpr":"0","value":"Norfolk Island"},{"country":"North Korea","code":"+850","data-select":"","gdpr":"0","value":"North Korea"},{"country":"Northern Mariana Islands","code":"+1","data-select":"","gdpr":"0","value":"Northern Mariana Islands"},{"country":"Norway","code":"+47","data-select":"","gdpr":"1","value":"Norway"},{"country":"Oman","code":"+968","data-select":"","gdpr":"0","value":"Oman"},{"country":"Pakistan","code":"+92","data-select":"","gdpr":"0","value":"Pakistan"},{"country":"Palau","code":"+680","data-select":"","gdpr":"0","value":"Palau"},{"country":"Palestinian Territory","code":"+970","data-select":"","gdpr":"0","value":"Palestinian Territory"},{"country":"Panama","code":"+507","data-select":"","gdpr":"0","value":"Panama"},{"country":"Papua New Guinea","code":"+675","data-select":"","gdpr":"0","value":"Papua New Guinea"},{"country":"Paraguay","code":"+595","data-select":"","gdpr":"0","value":"Paraguay"},{"country":"Peru","code":"+51","data-select":"","gdpr":"0","value":"Peru"},{"country":"Philippines","code":"+63","data-select":"","gdpr":"0","value":"Philippines"},{"country":"Pitcairn Islands","code":"+64","data-select":"","gdpr":"0","value":"Pitcairn Islands"},{"country":"Poland","code":"+48","data-select":"","gdpr":"1","value":"Poland"},{"country":"Portugal","code":"+351","data-select":"","gdpr":"1","value":"Portugal"},{"country":"Puerto Rico","code":"+1","data-select":"","gdpr":"0","value":"Puerto Rico"},{"country":"Qatar","code":"+974","data-select":"","gdpr":"0","value":"Qatar"},{"country":"Romania","code":"+40","data-select":"","gdpr":"1","value":"Romania"},{"country":"Russia","code":"+7","data-select":"","gdpr":"0","value":"Russia"},{"country":"Rwanda","code":"+250","data-select":"","gdpr":"0","value":"Rwanda"},{"country":"R\u00e9union","code":"+262","data-select":"","gdpr":"1","value":"R\u00e9union"},{"country":"Saint Helena, Ascension and Tristan da Cunha","code":"+290","data-select":"","gdpr":"0","value":"Saint Helena, Ascension and Tristan da Cunha"},{"country":"Saint Kitts and Nevis","code":"+1","data-select":"","gdpr":"0","value":"Saint Kitts and Nevis"},{"country":"Saint Lucia","code":"+1","data-select":"","gdpr":"0","value":"Saint Lucia"},{"country":"Saint Martin (French part)","code":"+590","data-select":"","gdpr":"1","value":"Saint Martin (French part)"},{"country":"Saint Vincent and the Grenadines","code":"+1","data-select":"","gdpr":"0","value":"Saint Vincent and the Grenadines"},{"country":"San Marino","code":"+378","data-select":"","gdpr":"0","value":"San Marino"},{"country":"Sao Tome and Principe","code":"+239","data-select":"","gdpr":"0","value":"Sao Tome and Principe"},{"country":"Saudi Arabia","code":"+966","data-select":"","gdpr":"0","value":"Saudi Arabia"},{"country":"Senegal","code":"+221","data-select":"","gdpr":"0","value":"Senegal"},{"country":"Serbia","code":"+381","data-select":"","gdpr":"0","value":"Serbia"},{"country":"Seychelles","code":"+248","data-select":"","gdpr":"0","value":"Seychelles"},{"country":"Sierra Leone","code":"+232","data-select":"","gdpr":"0","value":"Sierra Leone"},{"country":"Singapore","code":"+65","data-select":"","gdpr":"0","value":"Singapore"},{"country":"Sint Maarten (Dutch part)","code":"+1","data-select":"","gdpr":"1","value":"Sint Maarten (Dutch part)"},{"country":"Slovakia","code":"+421","data-select":"","gdpr":"1","value":"Slovakia"},{"country":"Slovenia","code":"+386","data-select":"","gdpr":"1","value":"Slovenia"},{"country":"Solomon Islands","code":"+677","data-select":"","gdpr":"0","value":"Solomon Islands"},{"country":"Somalia","code":"+252","data-select":"","gdpr":"0","value":"Somalia"},{"country":"South Africa","code":"+27","data-select":"","gdpr":"0","value":"South Africa"},{"country":"South Georgia & South Sandwich Islands","code":"+500","data-select":"","gdpr":"0","value":"South Georgia & South Sandwich Islands"},{"country":"South Korea","code":"+82","data-select":"","gdpr":"0","value":"South Korea"},{"country":"South Sudan","code":"+211","data-select":"","gdpr":"0","value":"South Sudan"},{"country":"Spain","code":"+34","data-select":"","gdpr":"1","value":"Spain"},{"country":"Sri Lanka","code":"+94","data-select":"","gdpr":"0","value":"Sri Lanka"},{"country":"St. Barth\u00e9lemy","code":"+590","data-select":"","gdpr":"0","value":"St. Barth\u00e9lemy"},{"country":"St. Pierre & Miquelon","code":"+508","data-select":"","gdpr":"0","value":"St. Pierre & Miquelon"},{"country":"Sudan","code":"+249","data-select":"","gdpr":"0","value":"Sudan"},{"country":"Suriname","code":"+597","data-select":"","gdpr":"0","value":"Suriname"},{"country":"Svalbard and Jan Mayen","code":"+47","data-select":"","gdpr":"0","value":"Svalbard and Jan Mayen"},{"country":"Swaziland","code":"+268","data-select":"","gdpr":"0","value":"Swaziland"},{"country":"Sweden","code":"+46","data-select":"","gdpr":"1","value":"Sweden"},{"country":"Switzerland","code":"+41","data-select":"","gdpr":"0","value":"Switzerland"},{"country":"Syria","code":"+963","data-select":"","gdpr":"0","value":"Syria"},{"country":"Taiwan","code":"+886","data-select":"","gdpr":"0","value":"Taiwan"},{"country":"Tajikistan","code":"+992","data-select":"","gdpr":"0","value":"Tajikistan"},{"country":"Tanzania","code":"+255","data-select":"","gdpr":"0","value":"Tanzania"},{"country":"Thailand","code":"+66","data-select":"","gdpr":"0","value":"Thailand"},{"country":"Timor-Leste","code":"+670","data-select":"","gdpr":"0","value":"Timor-Leste"},{"country":"Togo","code":"+228","data-select":"","gdpr":"0","value":"Togo"},{"country":"Tokelau","code":"+690","data-select":"","gdpr":"0","value":"Tokelau"},{"country":"Tonga","code":"+676","data-select":"","gdpr":"0","value":"Tonga"},{"country":"Trinidad and Tobago","code":"+1","data-select":"","gdpr":"0","value":"Trinidad and Tobago"},{"country":"Tunisia","code":"+216","data-select":"","gdpr":"0","value":"Tunisia"},{"country":"Turkey","code":"+90","data-select":"","gdpr":"0","value":"Turkey"},{"country":"Turkmenistan","code":"+993","data-select":"","gdpr":"0","value":"Turkmenistan"},{"country":"Turks and Caicos Islands","code":"+1","data-select":"","gdpr":"0","value":"Turks and Caicos Islands"},{"country":"Tuvalu","code":"+688","data-select":"","gdpr":"0","value":"Tuvalu"},{"country":"U.S. Outlying Islands","code":"+1","data-select":"","gdpr":"0","value":"U.S. Outlying Islands"},{"country":"Uganda","code":"+256","data-select":"","gdpr":"0","value":"Uganda"},{"country":"Ukraine","code":"+380","data-select":"","gdpr":"0","value":"Ukraine"},{"country":"United Arab Emirates","code":"+971","data-select":"","gdpr":"0","value":"United Arab Emirates"},{"country":"United Kingdom","code":"+44","data-select":"","gdpr":"1","value":"United Kingdom"},{"country":"United States","code":"+1","data-select":"","gdpr":"0","value":"United States"},{"country":"Uruguay","code":"+598","data-select":"","gdpr":"0","value":"Uruguay"},{"country":"Uzbekistan","code":"+998","data-select":"","gdpr":"0","value":"Uzbekistan"},{"country":"Vanuatu","code":"+678","data-select":"","gdpr":"0","value":"Vanuatu"},{"country":"Vatican City","code":"+39","data-select":"","gdpr":"0","value":"Vatican City"},{"country":"Venezuela","code":"+58","data-select":"","gdpr":"0","value":"Venezuela"},{"country":"Vietnam","code":"+84","data-select":"","gdpr":"0","value":"Vietnam"},{"country":"Virgin Islands, British","code":"+1","data-select":"","gdpr":"0","value":"Virgin Islands, British"},{"country":"Virgin Islands, U.S.","code":"+1","data-select":"","gdpr":"0","value":"Virgin Islands, U.S."},{"country":"Wallis & Futuna","code":"+681","data-select":"","gdpr":"0","value":"Wallis & Futuna"},{"country":"Western Sahara","code":"+212","data-select":"","gdpr":"0","value":"Western Sahara"},{"country":"Yemen","code":"+967","data-select":"","gdpr":"0","value":"Yemen"},{"country":"Zambia","code":"+260","data-select":"","gdpr":"0","value":"Zambia"},{"country":"Zimbabwe","code":"+263","data-select":"","gdpr":"0","value":"Zimbabwe"}];function populateInitialOption() { var jQuerySelectElement = jQuery('#country'); jQuerySelectElement.empty(); var initialOptionAdded = false; jQuery.each(countryList, function(index, country) { if (country['data-select'] === "selected") { var jQueryOption = jQuery('
') .val(country.country) .attr('data-codes', country.code) .attr('data-gdprs', country.gdpr) .text(country.value) .prop('selected', true); jQuerySelectElement.append(jQueryOption); initialOptionAdded = true; return false; // Break the loop after adding the initial option } }); if (!initialOptionAdded) { var jQueryDefaultOption = jQuery('
') .val('') .prop('disabled', true) .prop('selected', true) .text('Country/Region'); jQuerySelectElement.append(jQueryDefaultOption); }}function populateAllOptions() { var jQuerySelectElement = jQuery('#country'); var jQueryInitialOption = jQuerySelectElement.find('option:selected'); jQuerySelectElement.empty(); jQuerySelectElement.append(jQueryInitialOption); jQuery.each(countryList, function(index, country) { if (country['data-select'] !== "selected") { var jQueryOption = jQuery('
') .val(country.country) .attr('data-codes', country.code) .attr('data-gdprs', country.gdpr) .text(country.value); jQuerySelectElement.append(jQueryOption); } });}jQuery(document).ready(function() { populateInitialOption();});jQuery('#country').one('focus', function() { populateAllOptions();}); //custom validation rule jQuery.validator.addMethod("customemail", function(value, element) { if (jQuery.trim(value) != "") { var pattern = new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i); return pattern.test(value); } else { return true; } }, "Please provide valid email format" ); jQuery.validator.addMethod("specialChar", function(value, element) { return this.optional(element) || /([0-9a-zA-Z\s])$/.test(value); }, "Please Fill Correct Value in Field."); jQuery.validator.addMethod("notEqual", function(value, element, param) { return this.optional(element) || value != param; }, "Please select valid country"); jQuery('#country').change(function() { let contryCode = ""; let gdprValue = 0; jQuery("#country option:selected").each(function() { contryCode += jQuery(this).data("codes"); gdprValue += jQuery(this).data("gdprs"); jQuery('input#country_code_leadsurvey').attr("placeholder", contryCode); jQuery('input#country_code_leadsurvey').attr("value", contryCode); }); jQuery("#country_code_leadsurvey").val(contryCode); if (gdprValue === 1) { jQuery("#explicitOptIn_leadsurvey").css("display", "flex"); jQuery("#implicitOptIn_leadsurvey").css("display", "none"); } else { jQuery("#explicitOptIn_leadsurvey").css("display", "none"); jQuery("#implicitOptIn_leadsurvey").css("display", "block"); } }); });