{"id":4025,"date":"2019-09-27T08:54:44","date_gmt":"2019-09-27T08:54:44","guid":{"rendered":"http:\/\/iasisoasia.com\/?page_id=4025"},"modified":"2026-07-27T10:48:37","modified_gmt":"2026-07-27T10:48:37","slug":"ce-marking-certification-in-uae","status":"publish","type":"page","link":"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/","title":{"rendered":"CE Certification in UAE"},"content":{"rendered":"<div class=\"vce-row-container\" data-vce-boxed-width=\"true\"><div class=\"vce-row vce-row--col-gap-30 vce-row-equal-height vce-row-content--top\" id=\"el-b23418f4\" data-vce-do-apply=\"all el-b23418f4\"><div class=\"vce-content-background-container\"><\/div><div class=\"vce-row-content\" data-vce-element-content=\"true\"><div class=\"vce-col vce-col--md-77p vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first vce-col--md-first vce-col--lg-first vce-col--xl-first\" id=\"el-864050a2\"><div class=\"vce-col-inner\" data-vce-do-apply=\"border margin background  el-864050a2\"><div class=\"vce-col-content\" data-vce-element-content=\"true\" data-vce-do-apply=\"padding el-864050a2\"><div class=\"vce-text-block\"><div class=\"vce-text-block-wrapper vce\" id=\"el-fcb875a3\" data-vce-do-apply=\"all el-fcb875a3\"><p>Sell your products into Europe and regulated markets with confidence - get accredited CE certification in UAE on a clear timeline and a fixed, transparent price.<\/p>\n<p>CE certification in UAE is the conformity process that lets manufacturers, exporters and traders place the CE marking on products bound for the European market and other regulated destinations. The CE marking confirms a product meets the applicable EU health, safety and environmental requirements. For UAE businesses exporting machinery, electronics, medical devices, construction products and more, CE marking is a gateway to international sales. IAS guides you through the technical file, conformity assessment and EU declaration of conformity so your products reach market without delay.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_78 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #b82e24;color:#b82e24\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #b82e24;color:#b82e24\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#what-is-ce-marking\" >What Is CE Marking?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#which-ce-requirements-apply-to-your-product\" >Which CE Requirements Apply to Your Product?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#how-to-get-ce-certification-in-uae-process-steps\" >How to Get CE Certification in UAE: Process Steps<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#documents-and-evidence-required-for-ce-marking\" >Documents and Evidence Required for CE Marking<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#cost-of-ce-certification-in-uae\" >Cost of CE Certification in UAE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#how-long-does-ce-certification-take-in-the-uae\" >How Long Does CE Certification Take in the UAE?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#industry-applications-and-export-context-in-the-uae\" >Industry Applications and Export Context in the UAE<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#benefits-of-ce-certification\" >Benefits of CE Certification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#self-declaration-versus-notified-body-assessment\" >Self-Declaration Versus Notified Body Assessment<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#best-ce-certification-company-in-uae-what-to-look-for\" >Best CE Certification Company in UAE: What to Look For<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#why-choose-ias-uae-for-ce-certification\" >Why Choose IAS UAE for CE Certification?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#related-standards-and-training\" >Related Standards and Training<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#common-mistakes-to-avoid-with-ce-marking\" >Common Mistakes to Avoid With CE Marking<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#get-your-ce-certification-in-uae-today\" >Get Your CE Certification in UAE Today<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/#explore-more-certifications-in-uae\" >Explore More Certifications in UAE<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"what-is-ce-marking\"><\/span>What Is CE Marking?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CE marking is a mandatory conformity marking for products sold within the European Economic Area, and is widely recognised in other markets too. It indicates that a product complies with the relevant EU directives or regulations covering safety, health and environmental protection. The CE marking is not a quality mark or an origin mark - it is the manufacturer's declaration, supported by evidence, that the product conforms to all applicable requirements before it is placed on the market.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"which-ce-requirements-apply-to-your-product\"><\/span>Which CE Requirements Apply to Your Product?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The CE requirements depend entirely on your product category. Each product falls under one or more EU directives or regulations - such as those covering machinery, low voltage equipment, electromagnetic compatibility, medical devices, personal protective equipment, toys or construction products. For some product types you can self-declare conformity; for higher-risk products a notified body must be involved in the conformity assessment. IAS helps you identify exactly which directives, standards and route apply to your product so you do not over- or under-comply.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"how-to-get-ce-certification-in-uae-process-steps\"><\/span>How to Get CE Certification in UAE: Process Steps<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Wondering how to get CE certification in UAE? The CE certification process steps follow a clear path from product analysis to a marked, market-ready product.<\/p>\n<ul>\n<li>Identify directives and standards: we determine which EU directives and harmonised standards apply to your product.<\/li>\n<li>Conformity assessment: we establish the correct assessment route, involving a notified body where required.<\/li>\n<li>Testing and evaluation: the product is tested and evaluated against the applicable requirements.<\/li>\n<li>Technical file: we compile the technical documentation that demonstrates conformity.<\/li>\n<li>EU declaration of conformity: you sign the declaration and affix the CE marking to the product.<\/li>\n<li>Ongoing control: we help you maintain conformity as products and rules evolve.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"documents-and-evidence-required-for-ce-marking\"><\/span>Documents and Evidence Required for CE Marking<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CE certification requirements in UAE centre on the technical file. This typically includes a product description, design and manufacturing drawings, a list of applied standards, risk assessments, test reports, the conformity assessment records and the signed EU declaration of conformity. Where a notified body is involved, their certificate forms part of the evidence. IAS helps you build a complete, defensible technical file that withstands market surveillance scrutiny.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"cost-of-ce-certification-in-uae\"><\/span>Cost of CE Certification in UAE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The cost of CE certification in UAE depends on your product category, its risk level, whether a notified body is required and how much testing is needed. A simple self-declared product costs far less than a complex product needing notified-body involvement. IAS provides a clear ce certification cost quotation up front, so you can budget your export project accurately.<\/p>\n<p>For a tailored quotation on ce certification services, <a href=\"https:\/\/iasiso-gulf.com\/UAE\/contact-us\/\">contact IAS<\/a> with your product type and target markets.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"how-long-does-ce-certification-take-in-the-uae\"><\/span>How Long Does CE Certification Take in the UAE?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Timelines vary with product complexity. A self-declared product can be ready in a few weeks, while products requiring testing and notified-body assessment take longer. We map out your realistic timeline at the start so you can plan your export schedule around it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"industry-applications-and-export-context-in-the-uae\"><\/span>Industry Applications and Export Context in the UAE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CE marking matters to any UAE business that exports manufactured products into Europe or regulated markets that accept CE conformity. As UAE manufacturing and re-export activity grows across Jebel Ali, Khalifa Industrial Zone and the wider free-zone network, more Emirates-based producers are selling directly into demanding international markets where CE conformity is non-negotiable. Securing CE marking early removes a major barrier to those markets, prevents shipments being held or rejected at the border, and signals to overseas buyers that your products are made to a recognised standard of safety and quality.<\/p>\n<ul>\n<li>Machinery and industrial equipment: manufacturers exporting plant and equipment.<\/li>\n<li>Electronics and electrical goods: products subject to low voltage and EMC requirements.<\/li>\n<li>Medical devices: device makers and suppliers entering European markets.<\/li>\n<li>Construction products: building materials and components for export.<\/li>\n<li>Consumer goods and PPE: toys, protective equipment and other regulated products.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"benefits-of-ce-certification\"><\/span>Benefits of CE Certification<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Market access: place your products legally on the European market and beyond.<\/li>\n<li>Buyer confidence: demonstrate that your products meet recognised safety requirements.<\/li>\n<li>Competitive advantage: win export contracts that demand CE conformity.<\/li>\n<li>Reduced legal risk: a defensible technical file protects you in market surveillance.<\/li>\n<li>Stronger brand reputation: signal quality and compliance to international partners.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"self-declaration-versus-notified-body-assessment\"><\/span>Self-Declaration Versus Notified Body Assessment<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A common question is whether you can self-declare CE conformity or must involve a notified body. The answer depends on your product and its risk class. For many lower-risk products - such as certain electrical goods or simple machinery - the manufacturer may assess conformity, compile the technical file and sign the EU declaration of conformity without third-party involvement. For higher-risk products, including many medical devices, pressure equipment and personal protective equipment, an EU notified body must carry out part of the conformity assessment and issue a certificate before you can affix the CE marking. Choosing the wrong route is a costly mistake, so IAS confirms the correct path for your exact product at the start.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"best-ce-certification-company-in-uae-what-to-look-for\"><\/span>Best CE Certification Company in UAE: What to Look For<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When you search for the best CE certification company in UAE, choose a partner who understands the directives, the testing landscape and the practical realities of UAE export. Use this checklist.<\/p>\n<ul>\n<li>Directive expertise: correct identification of the rules that apply to your product.<\/li>\n<li>Notified body network: access to recognised notified bodies where required.<\/li>\n<li>Robust technical files: documentation that survives market surveillance.<\/li>\n<li>Transparent pricing: a clear quotation before testing begins.<\/li>\n<li>Export know-how: guidance shaped by real UAE-to-Europe trade experience.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"why-choose-ias-uae-for-ce-certification\"><\/span>Why Choose IAS UAE for CE Certification?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As one of the best CE certification companies in UAE, IAS combines accredited expertise with hands-on export experience. Our specialists understand both the technical directives and the realities of UAE manufacturing and trade, and our clients across the Emirates rely on us to open European markets without compliance setbacks. We support manufacturers, exporters and trading companies in Dubai, Abu Dhabi and Sharjah free zones, translating complex EU rules into a clear, step-by-step plan. Whether you make machinery, electronics, medical devices or construction products, we help you reach the correct conformity route the first time, compile a technical file that holds up to scrutiny, and get your CE-marked products to market on schedule.<\/p>\n<ul>\n<li>Expert guidance: we identify the right directives and route the first time.<\/li>\n<li>Experienced CE certification consultants in UAE: specialists who have supported exporters across sectors.<\/li>\n<li>Fixed pricing: a clear quotation before you start.<\/li>\n<li>Robust technical files: documentation that withstands scrutiny.<\/li>\n<li>End-to-end support: from directive analysis to declaration of conformity.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"related-standards-and-training\"><\/span>Related Standards and Training<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Many exporters pair CE marking with a certified quality system - explore <a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-9001-certification-in-uae\/\">ISO 9001 certification in UAE<\/a> and the full <a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-certification\/\">UAE ISO certification hub<\/a>. To strengthen in-house audit skills, see our <a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-9001-lead-auditor-training-in-uae\/\">ISO 9001 lead auditor training in UAE<\/a> or accredited courses via <a href=\"https:\/\/www.eascertification.com\/\">EAS training<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"common-mistakes-to-avoid-with-ce-marking\"><\/span>Common Mistakes to Avoid With CE Marking<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>CE marking projects most often go wrong at the very first step - misidentifying the directives that apply to the product, which leads to either missing requirements or testing against the wrong ones. Another frequent error is an incomplete technical file that cannot stand up to market surveillance, leaving the manufacturer exposed if authorities ask for evidence. Some exporters wrongly self-declare conformity for a product that legally requires notified-body involvement, which invalidates the CE marking entirely. Forgetting to update the technical file and declaration of conformity after a product change is another common slip. IAS helps you avoid each of these pitfalls by confirming the correct directives, route and evidence for your exact product from the start.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"get-your-ce-certification-in-uae-today\"><\/span>Get Your CE Certification in UAE Today<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Ready to unlock export markets with accredited CE certification in UAE? <a href=\"https:\/\/iasiso-gulf.com\/UAE\/contact-us\/\">Contact IAS<\/a> for a free consultation and a clear quotation, and let our experts guide you from directive analysis to a CE-marked, market-ready product.<\/p><h2><span class=\"ez-toc-section\" id=\"explore-more-certifications-in-uae\"><\/span>Explore More Certifications in UAE<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul><li><a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-9001-certification-in-uae\/\">ISO 9001 Certification in UAE<\/a> \u2013 quality management<\/li><li><a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-14001-certification-in-uae\/\">ISO 14001 Certification in UAE<\/a> \u2013 environmental management<\/li><li><a href=\"https:\/\/iasiso-gulf.com\/UAE\/iso-45001-certification-in-uae\/\">ISO 45001 Certification in UAE<\/a> \u2013 occupational health and safety<\/li><\/ul><\/div><\/div><\/div><\/div><\/div><div class=\"vce-col vce-col--md-23p vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first vce-col--md-last vce-col--lg-last vce-col--xl-last\" id=\"el-e42fe2c0\"><div class=\"vce-col-inner\" data-vce-do-apply=\"border margin background  el-e42fe2c0\"><div class=\"vce-col-content\" data-vce-element-content=\"true\" data-vce-do-apply=\"padding el-e42fe2c0\"><div class=\"vce-text-block\"><div class=\"vce-text-block-wrapper vce\" id=\"el-6a8a9db1\" data-vce-do-apply=\"all el-6a8a9db1\"><h5><strong><span style=\"color: #b02b2c;\">To Enroll<\/span><\/strong><\/h5><\/div><\/div><div class=\"vce-button--style-basic-container vce-button--style-basic-container--align-left\"><span class=\"vce-button--style-basic-wrapper vce\" id=\"el-de172d47\" data-vce-do-apply=\"margin el-de172d47\"><a class=\"vce-button vce-button--style-basic vce-button--style-basic--border-square vce-button--style-basic--size-small vce-button--style-basic--color-b-176-43-44--fff\" href=\"https:\/\/iasiso-gulf.com\/UAE\/wp-content\/uploads\/2024\/12\/IAS-Product-Certification-Application-1-1.doc\" title=\"\" data-vce-do-apply=\"padding border background  el-de172d47\">Application<\/a><\/span><\/div><div class=\"vce-button--style-basic-container vce-button--style-basic-container--align-left\"><span class=\"vce-button--style-basic-wrapper vce\" id=\"el-e2862dd4\" data-vce-do-apply=\"margin el-e2862dd4\"><a class=\"vce-button vce-button--style-basic vce-button--style-basic--border-square vce-button--style-basic--size-small vce-button--style-basic--color-557cbf--fff\" href=\"https:\/\/iasiso-gulf.com\/UAE\/wp-content\/uploads\/2024\/12\/IAS-CE-Marking-Brochure.pdf\" title=\"\" data-vce-do-apply=\"padding border background  el-e2862dd4\">Brochure<\/a><\/span><\/div><div class=\"vce-text-block\"><div class=\"vce-text-block-wrapper vce\" id=\"el-9df55f89\" data-vce-do-apply=\"all el-9df55f89\"><h5><strong><span style=\"color: #b02b2c;\">Contact Us<\/span><\/strong><\/h5><\/div><\/div><div class=\"vce-shortcode\"><div class=\"vce-shortcode-wrapper vce\" id=\"el-d507ac54\" data-vce-do-apply=\"all el-d507ac54\">\n<style>\n.certification-section,.training-section, .other_enquiry_form, .certification_prod_section, .process_section, .product_section{\n\tdisplay:none;\n}\nlabel, .label {\ncolor:black;\n \n}\n.form-control {\npadding: 16px 19px;\n}\n#countryDropdown {\n\tborder: 1px solid #ced4da;\n}\n.dropdown-menu {\n\theight:300px;\n\toverflow-x:auto;\t\n}\n\n#myModalAlert .modal-dialog {\n\tmargin-top: 40vh;\n}\n#myModalAlert .modal-header {\n\tpadding: 10px !important;\n\tbackground: #dee1e6;\n}\n#myModalAlert .modal-body {\n\ttext-align: center;\n\tcolor:black;\n}\n.error, .mandatory {\n\tcolor:red;\n}\ninput {\ncolor:black !important;\n}\n\n#error_pop {\n    z-index: 1055 !important;\n}\n#error_pop .modal-dialog {\n    margin-top: 40vh;\n}\n\n#errorModalLabel{\n\tcolor: #fff !important;\n}\n.form-note {\n    margin-top: 14px;\n    padding: 10px 12px;\n    background: #f4f6f9;\n    border-left: 4px solid #3c8dbc;\n    font-size: 12px;\n    color: #333;\n}\n.scheme-dropdown-toggle {\n    border: 1px solid #ced4da;\n    border-radius: 4px;\n    padding: 10px 14px;\n    background: #fff;\n    cursor: pointer;\n    color: #333;\n    position: relative;\n    user-select: none;\n}\n.scheme-dropdown-toggle::after {\n    content: \"\\25BC\";\n    float: right;\n    font-size: 10px;\n    margin-top: 3px;\n    transition: transform 0.2s;\n}\n.scheme-dropdown-toggle.open::after {\n    transform: rotate(180deg);\n}\n.scheme-checkbox-list {\n    display: none;\n    max-height: 200px;\n    overflow-y: auto;\n    border: 1px solid #ced4da;\n    border-top: none;\n    border-radius: 0 0 4px 4px;\n    padding: 10px;\n    background: #fff;\n}\n.scheme-checkbox-list.show {\n    display: block;\n}\n<\/style>\n    <div class=\"container mt-3\">\n         <div class=\"card\">\n\t\t <div class=\"card-body\">\n         <form id=\"contct_form\" >\n         \t<!-- hidden datas -->\n         \t<input type=\"hidden\" name=\"source\" value=\"2\">\n\t\t\t<input type=\"hidden\" name=\"enquiry_from\"     value=\"online_user\">\n            <input type=\"hidden\" name=\"From\" value=\"6\">\n            <input type=\"hidden\" name=\"Website\" class=\"website_id\" value=\"\">\n            <input type=\"hidden\" name=\"source_of_url\"  class=\"url_id\"  value=\"\">\n\t\t\t <input type=\"hidden\" name=\"Company\" class=\"company\" value=\"\">\n            \n            <div class=\"row\">\n                <div class=\"col-sm-12\"> \n                    <div class=\"mb-3 mt-3\">\n                        <label  >Company Name:<\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CompanyName\" placeholder=\"Enter company name\" name=\"CompanyName\">\n                    <\/div>\n                    <div class=\"mb-3\">\n                        <label  >Customer Name: <span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CustomerName\" placeholder=\"Enter customer name\" name=\"CustomerName\" required=\"required\">\n                        <span class=\"error error_company_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                   \n                    \n                    <input type=\"hidden\" name=\"telephone_number\" value=\"\">\n                    <div class=\"mb-3\">\n                        <label>E-Mail:<span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"email\" class=\"form-control\" id=\"EMail\" placeholder=\"Enter email\" name=\"EMail\" required=\"required\">\n                         <span class=\"error error_email\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                    <div class=\"mb-3 country-section\">\n                    \t<label>Country: <span class=\"mandatory\">*<\/span><\/label>\n                       \t<div class=\"dropdown\">\n\t\t\t\t\t\t  \t<div class=\"btn btn-default\" type=\"button\" id=\"countryDropdown\" data-bs-toggle=\"dropdown\" aria-expanded=\"false\">\n\t\t\t\t\t\t    \t <span class=\"default_countr\"><\/span> --- Select Country ---<\/span>\n\t\t\t\t\t\t  \t<\/div>\n\t\t\t\t\t\t  <ul class=\"dropdown-menu\" aria-labelledby=\"countryDropdown\"><\/ul>\n\n\t\t\t\t\t\t  <input type=\"hidden\" id=\"country_id\" name=\"Country\" required>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t <span class=\"error error_country\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div> \n\t                <div class=\"mb-3 mt-3\">\n\t                    <label>State: <span class=\"mandatory\">*<\/span><\/label>\n\t                    <select class=\"form-select\" name=\"State\" id=\"State\" required=\"required\">\n\t                        <option value=\"\">--Please select state--<\/option>\n\t                    <\/select>\n\t                     <span class=\"error error_state\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t                <\/div>\n\t                <div class=\"mb-3\">\n\t                    <label>City:<\/label>\n\t                    <select class=\"form-select\" name=\"City\" id=\"City\">\n\t                        <option value=\"\">--Please select City --<\/option> \n\t                    <\/select>\n\t                    <span class=\"error error_city\"><\/span>\n\t                <\/div> \n \n\t                <div class=\"mb-3\">\n                        <label  > Mobile Number:<span class=\"mandatory\">*<\/span><\/label>\n                       \n                        <div>\n\t\t\t\t\t\t<span class=\"input-group-text\" id=\"CountryCode\" data-phone-length=\"\">+971<\/span>\n                        \t<input type=\"text\" class=\"form-control\" id=\"MobileNumber\" placeholder=\"Enter mobile number\" name=\"MobileNumber\"  required=\"required\" oninput=\"this.value = this.value.replace(\/[^0-9]\/g, '')\">\n                        \t<span class=\"error error_mobile_no\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                        <\/div>\n                    <\/div>\n\t                <div class=\"mb-3\">\n\t                     <h6 class=\"label\">Enquiry Type<\/h6>\n\t                    <span><input type=\"radio\" class=\"form-check-input enquiry_type\"    name=\"optradio\" value=\"1\" checked> Enquiry<\/span>\n\t                    <span> <input type=\"radio\" class=\"form-check-input enquiry_type\"   name=\"optradio\" value=\"2\"> Other<\/span>\n\t                <\/div> \n\t                <div class=\"enquiry_form\">\n\t\t                <div class=\"mb-3\">\n\t\t                    <label>Training \/ Certification: <span class=\"mandatory\">*<\/span><\/label>\n\t\t                    <select class=\"form-select\"  id=\"purposOf\">\n\t\t                        <option value=\"\">--Please select  --<\/option> \n\t\t                        <option value=\"1\">Training (For Individuals or Group of Individuals)<\/option>\n\t\t                        <option value=\"2\">Certification (For Organizations)<\/option>\n\t\t                    <\/select>\n\t\t                    <span class=\"error error_trg_cert\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t\t\t\t\t<div class=\"mb-3 certification_prod_section\">\n\t\t\t\t\t\t\t<label>Certification: *<\/label>\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"cert_Type\" id=\"cert_Type\">\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select Type --<\/option>\n\t\t\t\t\t\t\t\t<option value=\"1\">Process<\/option>\n\t\t\t\t\t\t\t\t<option value=\"2\">Product<\/option>\n\t\t\t\t\t\t\t\t<option value=\"3\">Both (Process\/Product)<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t                <span class=\"error error_cert_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t            <\/div>\n\t\t                <!-- Training -->\n\t\t                \n\t\t                <div class=\"training-section\">\n\t\t                \t<h6 class=\"label\">Training<\/h6>\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Type: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Type[]\" id=\"Type\">\n\t\t\t                        <option value=\"\">--Please select Type --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                    <span class=\"error error_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Category: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Category[]\" id=\"Category\">\n\t\t\t                        <option value=\"\">--Please select Category --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                     <span class=\"error error_product_category\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Name: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"ProductNameCheckboxes\" data-default=\"-- Select Product Name --\">-- Select Product Name --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"ProductNameCheckboxes\">\n\t\t\t                        <span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>\n\t\t\t                    <\/div>\n\t\t\t                    <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t            <\/div>\n\t\t\t            <!-- Training End -->\n\t\t\t            <!-- Certification -->\n\t\t\t           \n\t\t                <div class=\"certification-section\">\n\t\t\t                <div class=\"mb-3 product_section\">\n\t\t\t                    <label>Product Scheme: <span class=\"mandatory\">*<\/span> <\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"productSchemeCheckboxes\" data-default=\"-- Select Product Scheme --\">-- Select Product Scheme --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"productSchemeCheckboxes\"><\/div>\n\t\t\t                     <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t                <div class=\"mb-3 process_section\">\n\t\t\t                    <label>Process Scheme: <span class=\"mandatory\">*<\/span> <\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"processSchemeCheckboxes\" data-default=\"-- Select Process Scheme --\">-- Select Process Scheme --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"processSchemeCheckboxes\"><\/div>\n\t\t\t                     <span class=\"error error_process_scheme\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div> \n\t\t\t            <\/div>\n\t\t\t            <!-- Certification End-->\n\t\t                <input type=\"hidden\" name=\"bco_assign_training\" class=\"bco_assign_training\" value=\"\">\n\t\t                 <input type=\"hidden\" name=\"bco_assign_cert\" class=\"bco_assign_cert\" value=\"\">\n\t\t                <input type=\"hidden\" name=\"Date\" value=\"2026-07-30\">\n\t\t            <\/div>\n\t\t            <div class=\"other_enquiry_form\">\n\t\t            \t<h6 class=\"label\">Specified details <span class=\"mandatory\">*<\/span><\/h6>\n\t\t            \t<div class=\"mb-3\">\n\t\t                     <textarea class=\"form-control\" name=\"other_enquiry\" rows=\"3\" id=\"other_enquiry\" placeholder=\"Please describe your enquiry details...\"><\/textarea>\n\t\t                     <span class=\"error error_other_enquiry\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t            <\/div>\n\t\t\t\t\t<div class=\"consent-checkbox\">\n\t\t\t\t\t\t<label><input type=\"checkbox\" id = \"privacyCheck\" name=\"acceptance-836\" value=\"1\" aria-invalid=\"false\"><span class=\"wpcf7-list-item-label\"><span style=\"color:black\">I agree that IAS can use my data for the purposes of dealing with my request, in accordance with the <\/span><b><a href=\"https:\/\/iasiso-gulf.com\/UAE\/online-privacy-statement\/\" style=\"color:#A70000\" target=\"_blank\">IAS Online Privacy Statement<\/a><\/b><\/span>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<span class=\"error error_privacy_checkbox\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t<!--\t\t\t<div class=\"captcha\">\n\t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"6LfbHTMjAAAAAJFRcyUHAm27f2i1MvKffn2tROTU\"><\/div>\n\t\t\t\t\t  <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div>\t\t\t-->\n\n\t\t\t\t\t  <div style=\"width:250px\">\n \t\t\t\t\t\t<label>Enter Captcha:<\/label>\n \t\t\t\t\t\t\n\t\t\t\t\t\t  <div style=\"margin-bottom: 10px; display: flex; align-items: center; gap: 10px;\">\n\t\t\t\t\t\t\t<img src=\"https:\/\/iasiso-gulf.com\/UAE\/?stm_captcha=1785393022\" alt=\"captcha\" id=\"captchaImage\" style=\"border: 1px \t\t\t\t\t\t\t\t\tsolid #ccc; padding: 5px; height: 70px; width: 220px; object-fit: contain;\">\n\t\t\t\t\t\t\t<i class=\"fa fa-refresh reload-icon\" id=\"refreshCaptcha\" style=\"cursor: pointer;font-size: 24px; color: #007bff;transition: transform 0.3s ease;\" onmouseover=\"this.style.transform='rotate(90deg)';\" onmouseout=\"this.style.transform='rotate(0deg)';\"><\/i>\n\t\t\t\t\t\t  <\/div>\n\t\t\t\t\t\t <input type=\"text\" class=\"form-control\" name=\"captcha_answer\" id=\"captcha_answer\" required\n           style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;\">\n\t\t\t\t\t   <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px; display: block;\"><\/span>\n \t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"form-note mb-3\">\n\t\t\t\t\t\t<strong>Note:<\/strong>\n\t\t\t\t\t\tFor clarity on Process and Product certification schemes, please refer this website menu.\n\t\t\t\t\t<\/div>\n\t\t        <\/div>\n            <\/div>\n            <button type=\"submit\" class=\"btn btn-primary btn-submit\">Submit<\/button>\n        <\/form>\n\t\t<!-- The Modal -->\n\t\t<div class=\"modal\" id=\"myModalAlert\">\n\t\t  <div class=\"modal-dialog\">\n\t\t    <div class=\"modal-content\">\n\t\t      <!-- Modal Header -->\n\t\t      <div class=\"modal-header\">\n\t\t        <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"><\/button>\n\t\t      <\/div>\n\t\t      <!-- Modal body -->\n\t\t      <div class=\"modal-body\">\n\t\t        Thank You\n\t\t      <\/div>\n\t\t    <\/div>\n\t\t  <\/div>\n\t\t<\/div>\n\t\t\n\t\t<div class=\"modal\" id=\"error_pop\">\n\t\t\t  <div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t  <div class=\"modal-header bg-danger text-white\">\n\t\t\t\t\t<h5 class=\"modal-title\" id=\"errorModalLabel\">Duplicate Email<\/h5>\n\t\t\t\t\t<button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-body\" id=\"error_pop_con\">\n\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-footer\">\n\t\t\t\t\t<div class=\"d-flex justify-content-end gap-2\">\n\t\t\t\t\t  <button type=\"button\" class=\"btn btn-outline-secondary\" id=\"cancelProceed\">Cancel<\/button>\n\t\t\t\t\t  <button type=\"button\" id=\"proceed_trn_enq\" class=\"btn btn-primary\" data-enquiry-type=\"\">Proceed<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t<\/div>\n\t\t\t  <\/div>\n\t\t\t<\/div>\n\t\t\n\t\t<\/div>\n    <\/div><script type='text\/javascript'>\n\t\t\t\/\/ Polyfill $.browser for old theme JS that depends on it\n\t\t\tif(!jQuery.browser){\n\t\t\t\tjQuery.browser = {};\n\t\t\t\tjQuery.browser.msie = false;\n\t\t\t\tjQuery.browser.version = 0;\n\t\t\t\tif(navigator.userAgent.match(\/MSIE ([0-9]+)\\.\/)){\n\t\t\t\t\tjQuery.browser.msie = true;\n\t\t\t\t\tjQuery.browser.version = RegExp.$1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tvar base_url_api = 'https:\/\/erp.iasiso.com\/Api';\n\t\t    var base_url = 'https:\/\/erp.iasiso.com';\n\t\t    jQuery(document).ready(function($) {\n\t\t\t\/\/ --- put mobile code box + input on the SAME line ---\nfunction enforceMobileGroup(){\n    var grp = $('#CountryCode').parent();\n    if(!grp.length) return;\n    grp.css({'display':'flex','flex-wrap':'nowrap','align-items':'stretch','width':'100%','margin':'0','padding':'0'});\n    $('#CountryCode').css({'display':'flex','align-items':'center','flex':'0 0 auto','width':'auto','white-space':'nowrap','padding':'12px 9px','font-size':'1rem','line-height':'1.5','background':'#e9ecef','border':'1px solid #ced4da','border-right':'0','border-top-left-radius':'0.25rem','border-bottom-left-radius':'0.25rem','border-top-right-radius':'0','border-bottom-right-radius':'0','margin':'0','color':'#212529','box-sizing':'border-box'});\n    $('#MobileNumber').css({'display':'block','flex':'1 1 auto','width':'1%','min-width':'0','margin':'0','padding':'12px 9px','font-size':'1rem','line-height':'1.5','height':'auto','border-top-left-radius':'0','border-bottom-left-radius':'0','border-top-right-radius':'0.25rem','border-bottom-right-radius':'0.25rem','box-sizing':'border-box'});\n}\nenforceMobileGroup();\nsetTimeout(enforceMobileGroup, 600);\n\n\t\t    \t\/\/ Move modals to body so they are not trapped inside parent containers\n\t\t    \t$('#myModalAlert, #error_pop').appendTo('body');\n\n\t\t    \t\/\/ Toggle open\/close for scheme checkbox dropdowns\n\t\t    \t$(document).on('click', '.scheme-dropdown-toggle', function(e){\n\t\t    \t\te.stopPropagation();\n\t\t    \t\tvar targetId = $(this).data('target');\n\t\t    \t\tvar list = $('#'+targetId);\n\t\t    \t\t\/\/ Close all other open dropdowns\n\t\t    \t\t$('.scheme-checkbox-list').not(list).removeClass('show');\n\t\t    \t\t$('.scheme-dropdown-toggle').not(this).removeClass('open');\n\t\t    \t\t\/\/ Toggle this one\n\t\t    \t\tlist.toggleClass('show');\n\t\t    \t\t$(this).toggleClass('open');\n\t\t    \t});\n\t\t    \t\/\/ Close dropdown when clicking outside\n\t\t    \t$(document).on('click', function(e){\n\t\t    \t\tif(!$(e.target).closest('.scheme-checkbox-list, .scheme-dropdown-toggle').length){\n\t\t    \t\t\t$('.scheme-checkbox-list').removeClass('show');\n\t\t    \t\t\t$('.scheme-dropdown-toggle').removeClass('open');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t\/\/ Update toggle label when checkboxes change\n\t\t    \t$(document).on('change', '.scheme-checkbox-list input[type=checkbox]', function(){\n\t\t    \t\tvar container = $(this).closest('.scheme-checkbox-list');\n\t\t    \t\tvar toggle = container.prev('.scheme-dropdown-toggle');\n\t\t    \t\tvar checked = container.find('input:checked');\n\t\t    \t\tif(checked.length > 0){\n\t\t    \t\t\tvar names = [];\n\t\t    \t\t\tchecked.each(function(){ names.push($(this).parent().text().trim()); });\n\t\t    \t\t\ttoggle.text(checked.length + ' selected');\n\t\t    \t\t} else {\n\t\t    \t\t\tvar defaultText = toggle.data('default') || '-- Select --';\n\t\t    \t\t\ttoggle.text(defaultText);\n\t\t    \t\t}\n\t\t    \t\t\/\/ Re-add the arrow (css ::after handles it)\n\t\t    \t});\n\n\t\t    \t\/\/credentials\n\t\t    \tvar url = base_url_api+'\/getUser';\n\t\t    \tvar chat_username = '';\n\t\t    \tvar chat_password = '';\n\t\t        $.get(url, function(datas, status){\n\t\t            if(datas){ \n\t\t            \tchat_username = datas.username;\n\t\t            \tchat_password = datas.password;\n\t\t            }\n\t\t        })\n\n\t\t       $('#refreshCaptcha').click(function(){\n\t\t\t\t\t\t$('#captchaImage').attr('src', 'https:\/\/iasiso-gulf.com\/UAE\/?stm_captcha=1785393022&t=' + new Date().getTime());\n\t\t\t\t\t});\n\n\t\t    \t\/\/country\n\t\t\t\t$(document).on('click','li a.dropdown-item', function() {\n\t\t\t    \tvar code = $(this).data('code');\n\t\t\t    \tvar countryName = $(this).text().trim();\t\n\t\t\t    \tvar country_id = $(this).attr('country_id');\n\t\t\t    \tvar country_code = $(this).attr('country_code');\t\n\t\t\t\t\tvar mobile_number_length = $(this).attr('data-mobile_number_length');\n\n\t\t\t    \t$('#countryDropdown').html('<span class=\"fi fi-' + code.toLowerCase() + '\"><\/span> ' + countryName);\n\t\t\t    \t$('#country_id').val(country_id);\n\n\t\t\t    \tif(country_code){\n\t\t\t\t\t\t\tconsole.log($('#CountryCode').attr('data-phone-length'));\n\t\t\t\t\t\t\t$('#CountryCode').text(country_code).attr('data-phone-length', mobile_number_length).data('phone-length', mobile_number_length);\n\n\t\t\t\t\t\t\t\/\/ reset input and error message\n\t\t\t\t\t\t\t$('#MobileNumber').val('');\n\t\t\t\t\t\t\t$('.error_mobile_no').text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t             var url = base_url_api+'\/getRegion';\n\t\t            $.post(url,{country:country_id},function(states, status){\n\t\t                if(states){\t\t                    \n\t\t                    $('#State').html(states);\n\t\t                }\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t            fetchBcoCert();\n\t\t\t\t});\n\n\t\t\t\t\/\/country search\n\n\t\t\t\t$(document).on('keyup','.dropdown-input', function() {\n\n\t\t\t\t  \tvar filterValue = $(this).val().toLowerCase();\n\t\t\t\t  \t$('li.country_list').each(function() {\n\t\t\t\t      var text = $(this).text().toLowerCase(); \/\/ Get the text of each li and convert to lowercase\n\t\t\t\t      if (text.indexOf(filterValue) === -1) {\n\t\t\t\t        $(this).hide(); \/\/ Hide the li if it does not contain the filter value\n\t\t\t\t      } else {\n\t\t\t\t        $(this).show(); \/\/ Show the li if it contains the filter value\n\t\t\t\t      }\n\t\t\t\t    });\n\t\t\t\t})\n\n\t\t    \t\/\/Fetch website info\n\n\t\t    \tvar website_url =  window.location.href;\n\n\t\t    \t\/\/var website_url = 'https:\/\/iasiso-middleeast.com\/iso-9001-lead-auditor-training-in-israel\/';\n\n\t\t    \tif(website_url){\n\t\t    \t\t $.post(base_url_api +'\/get_website_details',{url:website_url}, function(datas, status){\n   \t\t\t\t\t\t\tif(datas){\n   \t\t\t\t\t\t\t\t$('.website_id').val(datas.website_id);\n   \t\t\t\t\t\t\t\t$('.url_id').val(datas.url_id);\n\t\t\t\t\t\t\t\t$('.Company').val(datas.company);\n   \t\t\t\t\t\t\t}\n\t\t        \t});\n\t\t    \t}\n\t\t    \t\n\n\t\t        \/\/Fetch country\n\t\t        var url = base_url_api+'\/getCountrys';\n\t\t        var country_option = `<li>\n\t\t\t      <input class=\"form-control dropdown-input\" type=\"text\" placeholder=\"Search\">\n\t\t\t    <\/li>\n\t\t\t    <li>\n\t\t\t      <hr class=\"dropdown-divider\">\n\t\t\t    <\/li>`;\n\t\t        $.get(url, function(datas, status){\n\n\t\t            if(datas){\n\t\t                $(datas).each(function(inex, data) {\n\n\t\t                   country_option +=`<li class=\"country_list\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"dropdown-item\"  country_id=\"`+data.country_id+`\" country_code=\"+`+data.isd_code+`\" data-code=\"`+data.code+`\" data-mobile_number_length=\"`+data.mobile_number_length+`\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"fi fi-`+data.code.toLowerCase()+`\"><\/span> `+data.country_name+`\n\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t <\/li>`;\n\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\/\/ Auto select UAE\n        \t\t                var default_country_id = 233;\n                                if(data.country_id == default_country_id){\n                                    $('#countryDropdown').html(\n                                        '<span class=\"fi fi-' + data.code.toLowerCase() + '\"><\/span> ' + data.country_name\n                                    );\n\n                                    $('#country_id').val(data.country_id);\n                                }\n                        \n                        var default_country_id = 233;\n\n                        if(data.country_id == default_country_id){\n                        \n                            $('#countryDropdown').html(\n                                '<span class=\"fi fi-' + data.code.toLowerCase() + '\"><\/span> ' + data.country_name\n                            );\n                        \n                            $('#country_id').val(data.country_id);\n                        \n                            \/\/Set country code + mobile length\n                            if(data.isd_code){\n                                $('#CountryCode')\n                                    .text('+' + data.isd_code)\n                                    .attr('data-phone-length', data.mobile_number_length)\n                                    .data('phone-length', data.mobile_number_length);\n                            }\n                        \n                            \/\/Fetch states for default country\n                            var url = base_url_api + '\/getRegion';\n                        \n                            $.post(url, { country: data.country_id }, function(states, status){\n                                if(states){\n                                    $('#State').html(states);\n                                }\n                            });\n                        \n                            \/\/all other functions\n                            fetchBcoTraining();\n                            fetchBcoCert();\n                        }\n\t\t\t\t\t\t\t\t\t\n\t\t                });\n\t\t                \n\t\t                \n\t\t                \n\n\t\t                $('.country-section .dropdown-menu').html(country_option);\n\t\t            }\n\t\t        });\n\t\t         $(document).on('change','#State', function(){\n\n\t\t            var url = base_url_api+'\/getRegion';\n\t\t            var state = $(this).val();\n\n\t\t            $.post(url,{state:state},function(datas, status){\n\t\t                if(datas){\n\t\t                    \n\t\t                    $('#City').html(datas);\n\t\t                }\n\t\t            });\n\t\t             fetchBcoTraining();\n\n\t\t             fetchBcoCert();\n\t\t        })\n\t\t\t\t\n\t\t\t\t\/\/ Customer Name: allow only letters and spaces\n\t\t\t\t$(document).on('input','#CustomerName', function(){\n\t\t\t\t\tvar val = $(this).val();\n\t\t\t\t\tval = val.replace(\/[^a-zA-Z ]\/g, '');\n\t\t\t\t\t$(this).val(val);\n\t\t\t\t});\n\n\t\t\t\t$(document).on('input','#MobileNumber', function(){\n\n\t\t\t\tlet allowedLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\t\t            var inputValue = $(this).val();\n\t\t\t\t\tvar errorSpan = $('.error_mobile_no');\n\n\t\t\t\t\t\/\/ Strip non-numeric characters\n\t\t            inputValue = inputValue.replace(\/[^0-9]\/g, '');\n\n\t\t\t\t\t\/\/ Prevent exceeding max length\n\t\t\t\t\tif (allowedLength && inputValue.length > allowedLength){\n\t\t\t\t\t\tinputValue = inputValue.slice(0, allowedLength);\n\t\t\t\t\t}\n\t\t\t\t\t$(this).val(inputValue);\n\n\t\t\t\t\t\/\/ Show error\/info based on length\n\t\t\t\t\tif(allowedLength){\n\t\t\t\t\t\tif(inputValue.length === 0){\n\t\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t\t} else if(inputValue.length < allowedLength){\n\t\t\t\t\t\t\terrorSpan.css('color','#e67e22').text('Please enter ' + allowedLength + ' digits (' + inputValue.length + '\/' + allowedLength + ')');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrorSpan.css('color','').text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t}\n\n\t\t        })\n\n\t\t        \/\/Fetch Type and category\n\t\t        var url = base_url_api+'\/getTrainings';\n\t\t        \n\t\t        $.get(url, function(datas, status){\n\t\t            if(datas){\n\t\t                var type_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.type).each(function(inex, data) {\n\t\t                   type_option +='<option value=\"'+data.tc_id+'\">'+data.tra_cat_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Type').html(type_option);\n\n\t\t                var category_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.category).each(function(inex, data) {\n\t\t                   category_option +='<option value=\"'+data.tt_id+'\">'+data.tra_type_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Category').html(category_option);\n\t\t            }\n\t\t        });\n \n\t\t       \n\t\t        \/\/ When Product Type changes \u2192 filter Product Category options\n\t\t        $('#Type').change(function(){\n\t\t            var Type = $(this).val();\n\t\t            var catSelect = $('#Category');\n\n\t\t            catSelect.val('');\n\t\t            $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t            if(!Type){\n\t\t                catSelect.find('option').show();\n\t\t                fetchBcoTraining();\n\t\t                return;\n\t\t            }\n\n\t\t            catSelect.find('option').each(function(){\n\t\t                var opt = $(this);\n\t\t                var catVal = opt.val();\n\t\t                if(!catVal){ opt.show(); return; }\n\n\t\t                (function(opt, catVal){\n\t\t                    $.ajax({\n\t\t                        type: 'post',\n\t\t                        url: base_url_api+'\/getSchemes',\n\t\t                        data: { category: catVal, Type: Type },\n\t\t                        success: function(resp){\n\t\t                            var count = 0;\n\t\t                            if(resp && $.trim(resp) !== ''){\n\t\t                                $(resp).filter('option').each(function(){\n\t\t                                    if($.trim($(this).val()) !== '') count++;\n\t\t                                });\n\t\t                            }\n\t\t                            if(count > 0){\n\t\t                                opt.show();\n\t\t                            } else {\n\t\t                                opt.hide();\n\t\t                                if(catSelect.val() === catVal) catSelect.val('');\n\t\t                            }\n\t\t                        },\n\t\t                        error: function(){ opt.show(); }\n\t\t                    });\n\t\t                })(opt, catVal);\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ When Product Category changes \u2192 fetch Product Name\n\t\t        $('#Category').change(function(){\n\t\t            var Category = $(this).val();\n\t\t            var Type = $('#Type').val();\n\t\t            if(Category && Type){\n\t\t                $.ajax({\n\t\t                    type: 'post',\n\t\t                    url: base_url_api+'\/getSchemes',\n\t\t                    data: { category: Category, Type: Type },\n\t\t                    success: function(html){\n\t\t                        var checkboxHtml = '';\n\t\t                        $(html).filter('option').each(function(){\n\t\t                            var val = $(this).val();\n\t\t                            var text = $(this).text();\n\t\t                            if(val && $.trim(val) !== ''){\n\t\t                                checkboxHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-name-chk\" name=\"ProductName[]\" value=\"'+val+'\"> '+text+'<\/label><\/div>';\n\t\t                            }\n\t\t                        });\n\t\t                        if(checkboxHtml === ''){\n\t\t                            checkboxHtml = '<span style=\"color:#999;\">No products available<\/span>';\n\t\t                        }\n\t\t                        $('#ProductNameCheckboxes').html(checkboxHtml);\n\t\t                    }\n\t\t                });\n\t\t            } else {\n\t\t                $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\t\t            }\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ Product name checkbox change\n\t\t        $(document).on('change', '.product-name-chk', function(){\n\t\t        \tfetchBcoTraining();\n\t\t        });\n\t\t\t\t\n\t\t\t\t\t$('#cancelProceed').click(function(){\n\t\t\t\t\t\t$('#EMail').val('');\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t\t\t\t});\n\n\t\t\t\t\t$('#proceed_trn_enq').click(function(){\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-type','same');\n\t\t\t\t\t\t$('#proceed_trn_enq').attr('data-enquiry-id',$('#same_enquiry_id').val());\n\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\terror = 0\n\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t$('.btn-submit').click();\n\t\t\t\t\t\t}, 300);\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t\/\/New function for Duplicate email submission\n\t\t\t\t\tfunction submitFinalForm(){\n                    \n                        $('.btn-submit')\n                            .prop('disabled', true)\n                            .text('Submitting...');\n                    \n                        var enquiry_type  = $('input.enquiry_type:checked').val();\n                    \n                        if(enquiry_type == 1){\n                            var purposOf  = $('#purposOf').val();\n                            if(purposOf == 1){\n                                trainingEnquiry();\n                            } else if(purposOf == 2){\n                                certificationEnquiry();\n                            } else if(purposOf == 3){\n                                trainingEnquiry();\n                                certificationEnquiry();\n                            }\n                        } else {\n                            otherEnquiry();\n                        }\n                    }\n\n\t\t        \/\/Fetch process scheme \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/1';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input process-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\n\t\t                });\n\t\t                $('#processSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t            }\n\t\t        });\n\n\t\t        \/\/Fetch product scheme \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/2';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\n\t\t                });\n\t\t                $('#productSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t            }\n\t\t        });\n\t\t\t\t\n\t\t\t\tfunction getCookie(name) {\n\t\t\t\t\t\t\t\t const cookies = document.cookie.split(';');\n\t\t\t\t\t\t\t\t\tconst captcha_word = (cookies.find(c => c.trim().startsWith('captcha_word=')) || '').split('=')[1] || null;\n\t\t\t\t\t\t\t\t\treturn captcha_word;\n\t\t\t\t\t\t\t}\n\t\t\t\t\n\t\t        $('.btn-submit').click(function(e) { \n\t\t        \te.preventDefault();\n\t\t        \t\/\/validation start\n\t\t\t        \tvar CustomerName  = $('#CustomerName').val();\n\n\t\t\t        \tvar error = 0;\n\t\t\t\t\t\tvar mail_dup_error = 0;\n\t\t\t        \tif(!CustomerName){\n\t\t\t        \t\t$('.error_company_name').text('Enter the customer name');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(!\/^[a-zA-Z ]+$\/.test(CustomerName)){\n\t\t\t        \t\t$('.error_company_name').text('Only letters and spaces are allowed');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_company_name').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar EMail  = $('#EMail').val(); \n\n\t\t\t        \t\/\/ if(!EMail){\n\t\t\t        \t\/\/ \t$('.error_email').text('Enter the email');\n\t\t\t        \t\/\/ \terror = 1;\n\t\t\t        \t\/\/ }else {\n\t\t\t        \t\/\/ \t$('.error_email').text('');\n\t\t\t        \t\/\/ }  \n\t\t\t        \t\n\t\t\t        \tvar emailPattern = \/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/;\n\n\t\t\t        \tif(!EMail){\n\t\t\t        \t\t$('.error_email').text('Enter the email');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(!emailPattern.test(EMail)){\n\t\t\t\t\t\t\t\t$('.error_email').text('Enter a valid email address');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t$('.error_email').text('');\n\t\t\t        \t}\n\t\t\t        \t\n\t\t\t        \n\t\t\t        \t\n\t\t\t        \tvar isChecked = $('#privacyCheck').is(':checked');\n\n                        if(!isChecked){\n                            $('.error_privacy_checkbox').text('Please accept the privacy policy');\n                            error = 1;\n                        } else {\n                            $('.error_privacy_checkbox').text('');\n                        }\n\n\t\t\t        \tvar country_id  = $('#country_id').val(); \n\n\t\t\t        \tif(!country_id){\n\t\t\t        \t\t$('.error_country').text('Enter the country');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_country').text('');\n\t\t\t        \t}  \n\n\t\t\t        \tvar State  = $('#State').val(); \n\n\t\t\t        \tif(!State){\n\t\t\t        \t\t$('.error_state').text('Enter the state');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_state').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar MobileNumber  = $('#MobileNumber').val();\n\t\t\t        \tvar requiredLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\n\t\t\t        \tif(!MobileNumber){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Enter the mobile number');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(requiredLength && MobileNumber.length < requiredLength){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Mobile number must be ' + requiredLength + ' digits. You entered ' + MobileNumber.length + ' digits.');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_mobile_no').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar purposOf  = $('#purposOf').val(); \n\n\t\t\t        \tvar enquiry_type  = $('input.enquiry_type:checked').val()\n                        if(!purposOf && enquiry_type == 1){\n\t\t\t        \t\t$('.error_trg_cert').text('Please choose the training\/certification');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_trg_cert').text('');\n\t\t\t        \t}   \n\n\t\t\t        \tif((purposOf == 1) || (purposOf == 3)){ \n\t\t\t        \t\t\/\/Training validation  \n\t\t\t\t        \tvar Type  = $('#Type').val(); \n\n\t\t\t\t        \tif(!Type){\n\t\t\t\t        \t\t$('.error_product_type').text('Please choose type');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_type').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar Category  = $('#Category').val(); \n\n\t\t\t\t        \tif(!Category){\n\t\t\t\t        \t\t$('.error_product_category').text('Please choose category');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_category').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar ProductName  = $('.product-name-chk:checked').length;\n\n\t\t\t\t        \tif(ProductName === 0){\n\t\t\t\t        \t\t$('.error_product_name').text('Please choose at least one product');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_name').text('');\n\t\t\t\t        \t} \n\t\t\t\t        }\n\n\t\t\t\t        if((purposOf == 2) || (purposOf == 3)){ \n\t\t\t        \t\t\/\/Training validation  \n\t\t\t\t        \tvar product_scheme_count  = $('.product-scheme-chk:checked').length;\n\t\t\t\t        \tvar process_scheme_count  = $('.process-scheme-chk:checked').length;\n\n\t\t\t\t\t\t\tvar cert_type = $('#cert_Type').val();\n\n\t\t\t\t\t\t\tif(!cert_type){\n\t\t\t\t        \t\t$('.error_cert_product_type').text('Please choose any one Certification Type');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_cert_product_type').text('');\n\t\t\t\t\t\t\t\tif(cert_type == 1){\n\t\t\t\t\t\t\t\t\tif(process_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose at least one process scheme');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if(cert_type == 2){\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('Please choose at least one product scheme');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else if(cert_type == 3){\n\t\t\t\t\t\t\t\t\tif(product_scheme_count === 0 || process_scheme_count === 0){\n\t\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose at least one from both product and process scheme');\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t        \t} \n\t\t\t\t\t\t\t\n\n\n\t\t\t\t        }\n\t\t\t\t\t\t\n\t\t\t\t\t\tvar captcha_cookie = getCookie('captcha_word'); \n \t\t\t\t\t\t\tvar capcha_answer = $('#captcha_answer').val(); \n\t\t\t\t\t\t\tif(capcha_answer && captcha_cookie !== capcha_answer){\n\t\t\t\t\t\t\t\t$('.error_captcha').text('Captcha is not valid');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tif(!capcha_answer){\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('Enter the captcha');\n\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\t\t\t\t\t\t\t\t\/\/ \terror = 0;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}   \n\t\t\t\t\t\t\n\/\/ \t\t\t\t        var recaptcha_response = $('#g-recaptcha-response').val();  \n\/\/ \t\t\t\t        if(!recaptcha_response){  \n\/\/ \t\t\t\t        \t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\terror = 1;\n\/\/ \t\t\t\t        }else {\n\/\/ \t\t\t\t        \tvar recaptcha_response = $('#g-recaptcha-response').val(); \n\/\/ \t\t\t\t   \t\t\tvar url = base_url+'\/Api\/checkCaptcha';\n\/\/ \t\t\t\t   \t\t\t $.ajax({\n\/\/ \t\t\t\t\t\t\t\t 'async': false,\n\/\/ \t\t\t\t\t\t\t\t type:'POST',\n\/\/ \t\t\t\t\t\t\t\t url:url,\n\/\/ \t\t\t\t\t\t\t\t data:{g_recaptcha_response:recaptcha_response},\n\/\/ \t\t\t\t\t\t\t\t success:function(data){\n\/\/ \t\t\t\t\t\t\t\t\tif(!data){\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\t\t\terror = 1;\n\/\/ \t\t\t\t\t\t\t\t\t}else {\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\/\/ \t\t\t\t\t\t\t\t\t}\n\/\/ \t\t\t\t\t\t\t\t }\n\/\/ \t\t\t\t\t\t\t});\n\/\/ \t\t\t\t        }        \n\t\t\t        \/\/validation end\n\/\/ \t\t        \tif(!error){\n\/\/ \t\t        \t\t$('.btn-submit').addClass('disabled');\n\/\/ \t\t\t           \tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\/\/ \t\t\t\t\t   \t\/\/captcha status success\n\/\/ \t\t\t\t\t\tif(enquiry_type == 1){\n\/\/ \t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\/\/ \t\t\t\t\t\t\tif(purposOf == 1){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t   \t} else if(purposOf == 2){\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}else if(purposOf == 3){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}\n\/\/ \t\t\t\t\t   \t}else {\n\/\/ \t\t\t\t\t\t\totherEnquiry();\n\/\/ \t\t\t\t\t   \t}\t\t\t\t\t   \n\/\/ \t\t\t\t\t}\n\n\t\t\t\t\t\tvar EMail = $('#EMail').val();\n\t\t\t\t\t \t\/\/ Certification: collect checked checkboxes as arrays\n\t\t\t\t\t \tvar prod_scheme = [];\n\t\t\t\t\t \t$('.product-scheme-chk:checked').each(function(){ prod_scheme.push($(this).val()); });\n\t\t\t\t\t \tvar proc_scheme = [];\n\t\t\t\t\t \t$('.process-scheme-chk:checked').each(function(){ proc_scheme.push($(this).val()); });\n\t\t\t\t\t \t\/\/ Training: collect checked checkboxes as array\n\t\t\t\t\t \tvar trn_prod_scheme = [];\n\t\t\t\t\t\t \t$('.product-name-chk:checked').each(function(){ trn_prod_scheme.push($(this).val()); });\n\n\t\t\t\t\t\tif($('#purposOf').val() == 1){\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_training_email_check';\n\t\t\t\t\t\t\tvar postdata = {\n\t\t\t\t\t\t\t\tEMail : EMail,\n\t\t\t\t\t\t\t\tprod_scheme : trn_prod_scheme\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t }else if($('#purposOf').val() == 2){\n\t\t\t\t\t\t\temail_url = base_url_api+'\/api_cert_email_check';\n\t\t\t\t\t\t\tvar postdata = {\n\t\t\t\t\t\t\t\tEMail : EMail,\n\t\t\t\t\t\t\t\tprod_scheme : prod_scheme,\n\t\t\t\t\t\t\t\tproc_scheme : proc_scheme\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ Other enquiry type: validate details box BEFORE auto-scroll so error is caught\n\t\t\t\t\t\tvar enquiry_type_val = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\tvar otherDetails = $.trim($('#other_enquiry').val());\n\t\t\t\t\t\t\tif(!otherDetails){\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('Please enter your enquiry details');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(error){\n\t\t\t\t\t\t\/\/Auto Scroll to first error\n\t\t\t\t\t\tvar firstError = $('.error:visible').filter(function() {\n\t\t\t\t\t\t\treturn $(this).text().trim() !== '';\n\t\t\t\t\t\t}).first();\n\n\t\t\t\t\t\tif(firstError.length){\n\t\t\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\t\t\tscrollTop: firstError.offset().top - 380\n\t\t\t\t\t\t\t}, 500);\n\n\t\t\t\t\t\t\t\/\/ focus input\/select\n\t\t\t\t\t\t\tfirstError.closest('.mb-3').find('input, select, textarea').focus();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Other enquiry type: submit directly (validation already passed above)\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\t$('.btn-submit').prop('disabled', true).text('Submitting...');\n\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(EMail && $('#purposOf').val() != '' && !error){\n\t\t\t\t\t\t \/\/skip recheck of duplicate email after click proceed\n                            if($('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n                                submitFinalForm();\n                                return;\n                            }\n\t\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\t\t\turl:email_url,\n\t\t\t\t\t\t\t\tdata:postdata,\n\t\t\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif ((purposOf == 2 || purposOf == 3) && (prod_scheme.length === 0 && proc_scheme.length === 0)) {\n\t\t\t\t\t\t\t\t\t\/\/ If no scheme is selected, prevent modal from opening\n\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose any one process or product scheme.');\n\t\t\t\t\t\t\t\t\treturn; \/\/ Stop submission and modal opening\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tif(data == 1 || $('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n\t\t\t\t\t\t\t\t\tmail_dup_error = 0;\n\t\t\t\t\t\t\t\t\tif(!error && !mail_dup_error){\n\t\t\t\t\t\t\t\t\/\/ \t\t$('.btn-submit').addClass('disabled');\n\t\t\t\t\t\t\t\t        \/\/Prevent multiple submission\n                                        $('.btn-submit')\n                                        .prop('disabled', true)\n                                        .text('Submitting...');\n\t\t\t\t\t\t\t\t\t\tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\t\t\t\t\t\/\/captcha status success\n\t\t\t\t\t\t\t\t\t\tif(enquiry_type == 1){\n\t\t\t\t\t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\t\t\t\t\t\t\t\t\t\t\tif(purposOf == 1){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t} else if(purposOf == 2){\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}else if(purposOf == 3){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\t$('#error_pop_con').children().remove().end().append(data);\n\t\t\t\t\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\t\t\t\t\tvar prcd_btn = $('#same_enquiry_id').attr('data-scheme') == 0 ? 'disabled' : '';\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').removeClass('disabled');\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').addClass(prcd_btn);\n\t\t\t\t\t\t\t\t\t\tmail_dup_error = 1;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}); \n\t\t\t\t\t\t}\n\n\t\t        })\n\t\t\t\t$('.btn-close').click(function(e) { \n\t\t\t\t\tlocation.reload();\n\t\t\t\t})\n\n\t\t        function trainingEnquiry() {\n\t\t\t\t\t\n\t\t\t\t\tvar form_data = $('#contct_form').serialize();\n\t\t\t\t\tvar url = base_url+'\/SEO\/addEnquiry';\n\t\t\t\t\tvar bco_assign = $('.bco_assign_training').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t\t\t\tvar post_data = \"&bco_assign=\"+bco_assign+\"&company=\"+company+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId\n\t\t\t\t\t$.ajax({\n\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\turl:url,\n\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\tif(data.status == 1){\n\t\t\t\t\t\t\t\t\/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t}\n\t\t\t\t\t}); \n\t\t\t\t\t\n\t\t        }\n\n\t\t        function certificationEnquiry() {\n\t\t        \tvar form_data = $('#contct_form').serialize();\n\t\t        \tvar profile_name = $('#CompanyName').val();\n\t\t        \tvar contact_name = $('#CustomerName').val();\n\t\t        \tvar mobile_number = $('#MobileNumber').val();\n\t\t        \tvar profile_email = $('#EMail').val();\n\t\t        \tvar md_state      = $('#State').val();\n\t\t        \tvar md_city      = $('#City').val();\n\t\t        \tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t        \tvar Type = 6;\n\t\t        \tvar remarks = 'Online enquiry';\n\t\t        \tvar bco_assign = $('.bco_assign_cert').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t                var url = base_url+'\/SEO\/adddataAction_self';\n\n\t                var post_data = \"&profile_name=\"+profile_name+\"&contact_name=\"+contact_name+\"&mobile_number=\"+mobile_number+\"&profile_email=\"+profile_email+\"&md_state=\"+md_state+\"&md_city=\"+md_city+\"&company=\"+company+\"&Type=\"+Type+\"&remarks=\"+remarks+\"&bco_assign=\"+bco_assign+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t                    success:function(data){\n\t                     \/\/ alert(data);\n\t                        if(data.status == 1){\n\t                            \/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t  \t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t$('.btn-submit').removeClass('disabled');\n\t                        }  \n\t                    }\n\t                });   \n\t        \t}\n\n\t        \t function otherEnquiry() {\n\t\t        \t var form_data = $('#contct_form').serialize();\n\t\t                var url = base_url+'\/Api\/sent_mail_other_enquiry';\n\t\t               \n\t\t                var post_data = \"&website_url=\"+website_url\n\t\t                 $.ajax({\n\t\t                    type:'POST',\n\t\t                    url:url,\n\t\t                    data:form_data + post_data,\n\t\t                    success:function(data){\n\t\t                        if(data == 1){\n\t\t                            \/\/alert('Thank you for contact us');\n\t\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text('Thank you for contact us');\n\t\t\t\t\t  \t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t                        }\n\t\t                    }\n\t\t                });   \n\t\t        }\n\n\t\t        \/\/purpose change\n\t\t        $('#purposOf').change(function() {\n\t\t        \tvar purpose = $(this).val();\n\n\t\t        \t\/\/ Reset ALL child fields (training + certification) when parent changes\n\t\t        \t\/\/ Training fields\n\t\t        \t$('#Type').val('');\n\t\t        \t$('#Category').val('');\n\t\t        \t$('.product-name-chk').prop('checked', false);\n\t\t        \t$('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t        \t\/\/ Certification fields\n\t\t        \t$('#cert_Type').val('');\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \t$('.product_section, .process_section').hide();\n\n\t\t        \t\/\/ Reset toggle labels for all 3 scheme checkbox groups\n\t\t        \t$('.scheme-dropdown-toggle').each(function(){\n\t\t        \t\tvar defaultText = $(this).data('default') || '-- Select --';\n\t\t        \t\t$(this).text(defaultText).removeClass('open');\n\t\t        \t});\n\t\t        \t$('.scheme-checkbox-list').removeClass('show');\n\n\t\t        \t\/\/ Clear errors\n\t\t        \t$('.error_product_type, .error_product_category, .error_product_name, .error_cert_product_type, .error_process_scheme').text('');\n\n\t\t        \tif(purpose == 1){\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_training_email_check';\n\t\t        \t}else if(purpose == 2) {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').show();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_cert_email_check';\n\t\t        \t}else if(purpose == 3) {\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}else {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}\n\t\t       })\n\t\t      \/\/ Helper: reset a scheme toggle label to its default text\n\t\t      function resetSchemeToggleLabel(targetId){\n\t\t          var toggle = $('.scheme-dropdown-toggle[data-target=\"'+targetId+'\"]');\n\t\t          var defaultText = toggle.data('default') || '-- Select --';\n\t\t          toggle.text(defaultText);\n\t\t          toggle.removeClass('open');\n\t\t          $('#'+targetId).removeClass('show');\n\t\t      }\n\n\t\t      \/\/ When Type changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Type', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\t\t      \/\/ When Category changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Category', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\n\t\t      $('#cert_Type').change(function() {\n\t\t        \tvar cert_Type = $(this).val();\n\n\t\t        \t\/\/ Uncheck all cert scheme checkboxes when cert_Type changes\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \tresetSchemeToggleLabel('productSchemeCheckboxes');\n\t\t        \tresetSchemeToggleLabel('processSchemeCheckboxes');\n\t\t        \t$('.error_process_scheme').text('');\n\t\t        \t$('.error_product_name').text('');\n\n\t\t        \tif(cert_Type == 1){\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.product_section').hide();\n\t\t        \t}else if(cert_Type == 2) {\n\t\t        \t\t$('.product_section').show();\n\t\t\t\t\t\t$('.process_section').hide();\n\t\t        \t}else if(cert_Type == 3) {\n\t\t        \t\t$('.product_section').show();\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t        \t}\n\n\t\t       })\n\n\t\t       \/\/Enquiry type\n\t\t       $('.enquiry_type').change(function() {\n\t\t       \t\tvar enquiry_type = $(this).val();\n\n\t\t       \t\tconsole.log(enquiry_type);\n\n\t\t       \t\tif(enquiry_type == 1) {\n\t\t       \t\t\t$('.enquiry_form').show();\n\t\t       \t\t\t$('.other_enquiry_form').hide();\n\t\t       \t\t}else if(enquiry_type == 2) {\n\t\t       \t\t\t$('.other_enquiry_form').show();\n\t\t       \t\t\t$('.enquiry_form').hide();\n\t\t       \t\t}\n\t\t       \t})\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoTraining() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t            var Category \t\t= $('#Category').val();\n\t\t            var Type \t\t\t= $('#Type').val();\n\t\t             var ProductName = [];\n\t\t             $('.product-name-chk:checked').each(function(){ ProductName.push($(this).val()); });\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_training';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id+\"&Category=\"+Category+\"&Type=\"+Type+\"&ProductName=\"+ProductName.join(',');\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_training').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoCert() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_certification';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_cert').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t    })\n\n<\/script><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Sell your products into Europe and regulated markets with confidence &#8211; get accredited CE certification in UAE on a clear timeline and a fixed, transparent price. CE certification in UAE is the conformity process that lets manufacturers, exporters and traders place the CE marking on products bound for the European market and other regulated destinations&#8230;. <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/iasiso-gulf.com\/UAE\/ce-marking-certification-in-uae\/\" class=\"gdlr-button with-border excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/pages\/4025"}],"collection":[{"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/comments?post=4025"}],"version-history":[{"count":10,"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/pages\/4025\/revisions"}],"predecessor-version":[{"id":6541,"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/pages\/4025\/revisions\/6541"}],"wp:attachment":[{"href":"https:\/\/iasiso-gulf.com\/UAE\/wp-json\/wp\/v2\/media?parent=4025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}