Home / Blog / Finance / Top 5 New-Age Roles and Responsibilities of a Chief Financial Officer
- Evolution of the Chief Financial Officer (CFO) Role
- The Rising Demand for CFOs Across Industries
- Roles and Responsibilities of a CFO
- Is the CFO’s Role Standard Across Companies?
- Become a CFO With Emeritus
View All
In recent years, the role of a Chief Financial Officer (CFO) has evolved significantly, becoming increasingly vital in the business landscape. This article explores the changing face of a CFO’s role and the reasons behind its high demand. We will also delve into the CFO’s key responsibilities and how they may differ between companies, including the unique challenges CFOs face in startups.
The role of a CFO has undergone a remarkable transformation over the years. Traditionally, the CFO was primarily responsible for financial record-keeping and reporting. However, in the present era, the CFO has emerged as a strategic partner, actively contributing to high-level decision-making processes.
The demands for a CFO have grown exponentially due to rapidly changing market conditions, globalization, and the ever-increasing complexity of financial regulations. Today’s CFOs not only manage financial aspects but also play a critical role in shaping business strategy, risk management, and investor relations.
The increasing demand for CFOs can be attributed to several factors. Firstly, companies across industries now recognize the indispensable need for financial expertise to drive sustainable growth and success. Additionally, as organizations face mounting challenges in managing financial risks and navigating an uncertain economic landscape, the strategic prowess of a Chief Financial Officer becomes invaluable.
Moreover, as regulations tighten and stakeholders demand greater transparency, the role of a CFO assumes even greater significance. They are entrusted with maintaining financial integrity, ensuring compliance, and safeguarding against potential fraud or misconduct.
ALSO READ: 7 Factors to Consider Before Signing up for a Chief Financial Officer Course
Roles and Responsibilities of a CFO
1. Financial Planning and Analysis
One of the primary responsibilities of a CFO is to develop and oversee financial plans and strategies aligned with the organization’s goals. This includes analyzing financial data, forecasting future trends, and providing insights to support informed decision-making at all levels.
2. Overall Financial Management
CFOs are at the helm of financial management, overseeing all aspects of an organization’s financial function. This includes managing budgets, monitoring cash flow, optimizing capital structure, and ensuring effective utilization of financial resources to enhance profitability and drive growth.
3. Risk Management and Compliance
CFOs play a crucial role in identifying and managing financial risks that could impact the organization’s stability and reputation. They devise risk mitigation strategies, implement internal control systems, and ensure strict adherence to regulatory guidelines and reporting standards.
ALSO READ: What is Risk Management? Why it’s Important to Lead Companies to Success
4. Investor Relations and Capital Allocation
With increasing importance placed on financial transparency, CFOs actively engage with investors and stakeholders, presenting financial performance, growth opportunities, and investment strategies. They oversee capital allocation decisions, balancing the need for investments in innovation, expansion, and return on investment for shareholders.
EMBED VIDEO: https://youtu.be/9FLcFfeZx7s?si=LivxarVoG7Fx9hm7
5. Strategic Decision-making
As strategic partners to the CEO and senior management, CFOs contribute to major decisions by evaluating financial implications and providing insights into potential risks and rewards. They participate in strategic planning sessions, mergers and acquisitions, and capital investment decisions.
The roles and responsibilities of a CFO can indeed vary from one company to another, depending on factors
such as company size, industry, and organizational structure. While some CFOs may have a more traditional focus on financial oversight, others may have broader responsibilities that encompass areas like technology, human resources, or supply chain management.
While startups may function with limited resources, the role of a CFO remains just as vital. In this context, CFOs in startups often wear multiple hats, balancing financial strategy, fundraising, investor relations, and financial operations.
Startups rely heavily on the expertise of a CFO to secure funding, manage cash flow efficiently, and make astute financial decisions that propel growth. CFOs in startups also play a crucial role in assessing the financial viability of business models and navigating the uncertainties that come with early-stage ventures.
ALSO READ: The Rise of Finnovation: Explore the Top 10 Trends in Financial Technology
Become a CFO With Emeritus
Becoming a Chief Financial Officer entails much more than financial acumen. Today’s CFOs require a diverse skill set encompassing strategic thinking, risk management, and the ability to provide insightful financial guidance. As the world of business continues to evolve, the role of a CFO will likely continue to grow in importance, offering exciting opportunities for aspiring finance professionals. If you are interested in delving deeper into finance and acquiring the essential skills for this journey, consider exploring these comprehensive finance courses from Emeritus.
About the Author
G
Senior Content Writer, Emeritus BlogGauri has found that the upside of being a writer and a scissor-happy copy editor is a rather constant, even paranoid, eye on her own work—and a healthy aversion to complacency. As a professional content creator for over a decade, she has spent time writing (and editing) design, architecture, and lifestyle stories, as well as corporate content, brochures, ads, and websites, among other genres. Her stint with Emeritus has opened an exciting and challenging avenue of education to explore and proves what she already knows—you’re really never done learning.
Read More About the Author
Accelerate your career with the right program
Share your details and let our experts guide you
') .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').val("Code"); var jQuerySelectElement = jQuery('#country'); var jQueryDefaultOption = jQuery('
') .val('') .prop('disabled', true) .prop('selected', true) .text('Country/Region'); jQuerySelectElement.append(jQueryDefaultOption); 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":"01t2s000000OEe7AAG","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":"","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"); } }); });