{"id":6025,"date":"2026-09-04T07:01:45","date_gmt":"2026-09-04T07:01:45","guid":{"rendered":"https:\/\/iasiso-gulf.com\/KW\/blog\/fssc-22000-version-7-key-prp-changes-kuwait\/"},"modified":"2026-09-04T07:03:09","modified_gmt":"2026-09-04T07:03:09","slug":"fssc-22000-version-7-key-prp-changes-kuwait","status":"publish","type":"post","link":"https:\/\/iasiso-gulf.com\/KW\/blog\/fssc-22000-version-7-key-prp-changes-kuwait\/","title":{"rendered":"Kuwait\u2019s New FSSC 22000 PRP Playbook: Version 6 vs Version 7 Explained"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"6025\" class=\"elementor elementor-6025\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-xp0ij1h elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"xp0ij1h\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-o72z924\" data-id=\"o72z924\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2umwq1n elementor-widget elementor-widget-html\" data-id=\"2umwq1n\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>.ias-c h2,.ias-c h3,.ias-c .ias-faq-title{font-weight:700 !important;text-align:left !important;}.ias-c h2:not(.ias-faq-title){font-size:22px !important;line-height:1.3 !important;margin:30px 0 12px !important;color:#B02B2C !important;}.ias-c h3{font-size:18px !important;line-height:1.35 !important;margin:24px 0 10px !important;color:#B02B2C !important;}.ias-c p,.ias-c li{text-align:justify;line-height:1.7;color:#212529;}.ias-c ul{margin:0 0 18px 20px;}.ias-c li{margin-bottom:8px;}.ias-c a,.ias-c td a,.ias-c li a,.ias-c p a{font-weight:700 !important;text-decoration:underline !important;text-underline-offset:2px;color:#B02B2C !important;}.ias-fig{margin:24px auto;padding:0;max-width:600px;}.ias-fig img{width:100%;height:auto;display:block;border-radius:6px;}.ias-fig figcaption{font-size:13px;color:#6b6360;text-align:center;margin-top:8px;font-style:italic;}.ias-qa{background:#fbf6f6;border-left:4px solid #B02B2C;padding:18px 22px;margin:0 0 26px;border-radius:4px;}.ias-qa .ias-qa-t{font-weight:700;color:#B02B2C;font-size:16px;margin:0 0 10px;text-transform:uppercase;letter-spacing:.4px;}.ias-qa ul{margin:0 0 0 18px;}.ias-qa li{margin-bottom:7px;text-align:justify;}.ias-byline{font-size:13px;color:#6b6360;margin:0 0 18px;font-style:italic;}.ias-tw{width:100%;border-collapse:collapse;margin:18px 0 26px;font-size:15px;}.ias-tw thead th{background:#B02B2C !important;color:#fff !important;font-weight:700 !important;text-align:left !important;padding:11px 13px !important;border:1px solid #B02B2C !important;}.ias-tw td{border:1px solid #e6dede !important;padding:10px 13px !important;color:#212529 !important;vertical-align:top;}.ias-tw tbody tr:nth-child(even) td{background:#fbf6f6 !important;color:#212529 !important;}.ias-tw tbody tr:nth-child(odd) td{background:#fff !important;color:#212529 !important;}.ias-src{font-size:12.5px;color:#6b6360;margin:-14px 0 24px;font-style:italic;}.ias-quote{border-left:4px solid #B02B2C;background:#fbf6f6;padding:16px 20px;margin:22px 0;font-style:italic;color:#212529;text-align:justify;}.ias-bio{background:#fbf6f6;border:1px solid #e6dede;border-radius:6px;padding:18px 22px;margin:26px 0;}.ias-bio .ias-bio-t{font-weight:700;color:#B02B2C;margin:0 0 8px;font-size:16px;}.ias-bio p{margin:0;font-size:14.5px;}.ias-c .ias-faq-title{font-size:1.5em;font-weight:700;color:#B02B2C !important;margin:34px 0 14px;}.ias-faq-item{border:1px solid #e6dede;border-radius:5px;margin-bottom:10px;background:#fff;}.ias-faq-q{cursor:pointer;padding:13px 44px 13px 16px;font-weight:700;color:#212529;position:relative;list-style:none;line-height:1.5;}.ias-faq-q::-webkit-details-marker{display:none;}.ias-faq-q::after{content:\"+\";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#B02B2C;font-size:22px;font-weight:700;line-height:1;}.ias-faq-item[open] .ias-faq-q::after{content:\"\u2212\";}.ias-faq-a{padding:0 16px 14px;}.ias-faq-a p{margin:0;font-size:15px;}.ias-cta{background:#B02B2C;color:#fff !important;padding:22px 24px;border-radius:6px;margin:28px 0 0;}.ias-cta p{color:#fff !important;margin:0 0 8px;}.ias-cta a{color:#fff !important;text-decoration:underline !important;}@media(max-width:640px){.ias-tw{font-size:13.5px;}.ias-tw td,.ias-tw thead th{padding:8px 9px !important;}}.elementor-widget-sidebar,.elementor-widget-sidebar *{font-family:\"Roboto\",Arial,Helvetica,sans-serif !important;}.elementor-widget-sidebar .widget-title,.elementor-widget-sidebar h2,.elementor-widget-sidebar h3{font-family:\"Poppins\",\"Roboto\",Arial,sans-serif !important;}.gdlr-social-share{display:none !important;}.ias-c .ias-fig{display:block !important;margin-left:auto !important;margin-right:auto !important;float:none !important;}.ias-c,.ias-c p,.ias-c li,.ias-c td,.ias-c th,.ias-c blockquote,.ias-c summary,.ias-c div{font-family:\"Roboto\",Arial,Helvetica,sans-serif !important;}.ias-c h2,.ias-c h3,.ias-c .ias-faq-title,.ias-c .ias-qa-t,.ias-c .ias-bio-t{font-family:\"Poppins\",\"Roboto\",Arial,sans-serif !important;}.ias-c h2:not(.ias-faq-title){font-size:25px !important;}.ias-c h3{font-size:20px !important;}.ias-c p,.ias-c li{font-size:16px !important;line-height:1.7 !important;color:#000 !important;}.ias-c td,.ias-c th{font-size:15px !important;}.ias-c .ias-faq-a p,.ias-c .ias-bio p,.ias-c .ias-byline,.ias-c .ias-src{font-size:15px !important;}.ias-c .ias-faq-q{color:#333 !important;}.ias-c .ias-byline,.ias-c .ias-src,.ias-c figcaption{color:#8d8d8d !important;}.ias-c .ias-cta p,.ias-c .ias-cta a,.ias-c .ias-cta strong{color:#fff !important;}.ias-c .ias-tw thead th{color:#fff !important;}.ias-c h2:not(.ias-faq-title),.ias-c h3,.ias-c .ias-faq-title{color:#0A4D8C !important;}.ias-c p strong,.ias-c li strong,.ias-c td strong{color:#333 !important;}.ias-fig.ias-fig-wide{max-width:820px;}@media(max-width:860px){.ias-fig.ias-fig-wide{max-width:100%;}}.ias-c ul{list-style:disc outside !important;padding-left:22px !important;margin:0 0 18px 8px !important;}.ias-c ul li{list-style:disc outside !important;display:list-item !important;}.ias-c a,.ias-c li a,.ias-c p a,.ias-c td a{text-decoration:underline !important;font-weight:700 !important;color:#B02B2C !important;}.ias-c .ias-cta a{color:#fff !important;}<\/style>\n<div class=\"ias-c\">\n<p class=\"ias-byline\">By Dr. C.D. Mohana Priya &nbsp;|&nbsp; ISO 22000:2018 Lead Auditor &amp; Laboratory Quality Tutor<\/p>\n<p>The core PRP change between FSSC 22000 Version 6 and Version 7 is that prerequisite programme references move from the older ISO\/TS 22002-x series to the newer ISO 22002-x:2025 series of sector-specific standards. For food manufacturers, packaging producers and other certified sites in Kuwait, this means the sector PRP standard your food safety management system is verified against is being updated, and your next audit will assess PRP compliance against the updated 2025-series references instead of the Version 6 wording. This guide walks Kuwait-based teams through exactly what changed, why it changed, and what to do about it before the next audit.<\/p>\n<h2>Key Changes at a Glance<\/h2>\n<ul><li>PRP references shift from the ISO\/TS 22002-x series to the ISO 22002-x:2025 series under Version 7.<\/li><li>The relevant sector standard (manufacturing, catering, packaging, transport, storage) depends on your category.<\/li><li>Kuwait sites are assessed against the updated references at their next scheduled audit, not a new cycle.<\/li><li>Reviewing current PRP documentation against the 2025 wording ahead of time closes gaps proactively.<\/li><li>PRPs remain the operational foundation that HACCP-based food safety management systems are built on.<\/li><li>The PRP update keeps FSSC 22000 aligned with evolving, GFSI-recognised industry practice worldwide.<\/li><li>Internal auditors trained on Version 7 PRP references can catch gaps before an external audit does.<\/li><\/ul>\n<figure class=\"ias-fig ias-fig-wide\"><img loading=\"lazy\" src=\"https:\/\/iasiso-gulf.com\/KW\/wp-content\/uploads\/2026\/09\/kw-fssc-22000-v7-prp-changes.png\" alt=\"Kuwait&rsquo;s New FSSC 22000 PRP Playbook: Version 6 vs Version 7 Explained\" loading=\"lazy\" decoding=\"async\" width=\"1500\" height=\"408\" \/><figcaption>The sector PRP reference moves to the 2025 series; your next audit assesses against that wording.<\/figcaption><\/figure>\n<h2>What Are PRPs and Why the Standard References Changed<\/h2>\n<p>Prerequisite programmes are the basic operational and environmental conditions &mdash; hygiene practices, pest control, cleaning and sanitation, facility design and maintenance, among others &mdash; that a food business needs in place before its HACCP-based food safety management system can function effectively. FSSC 22000 has always required certified sites to implement PRPs aligned with a recognised sector-specific technical specification rather than leaving PRP content generic or self-defined, which is part of what distinguishes it from less structured food safety programmes. Auditors verify PRPs first precisely because a weak operational foundation undermines everything built on top of it.<\/p>\n<p>Under FSSC 22000 Version 6, those sector PRP requirements were referenced against the ISO\/TS 22002-x series of technical specifications. FSSC 22000 Version 7 updates this reference to the newer ISO 22002-x:2025 series, reflecting the formal revision of these sector-specific PRP standards by ISO, and bringing the referenced language up to date with how the sector standards themselves have evolved.<\/p>\n<p>The &lsquo;x&rsquo; in ISO 22002-x covers different sectors &mdash; food manufacturing, catering, packaging, and transport and storage, among others &mdash; so the exact standard that applies to a given site in Kuwait depends on its specific sector category rather than being a single one-size-fits-all reference. Knowing which specific part applies to your operation is the first step in any PRP gap review, and your certification body can confirm this if your site&rsquo;s activities are not clear-cut.<\/p>\n<h2>What Kuwait-Based Certified Sites Need to Do<\/h2>\n<p>If your organisation in Kuwait is already FSSC 22000 certified, you do not need to overhaul your PRPs overnight. The PRP reference update is assessed at your next scheduled surveillance or recertification audit as part of your site&rsquo;s move to Version 7, rather than triggering a separate certification cycle of its own or an additional unscheduled visit.<\/p>\n<p>That said, it is worth reviewing your current PRP documentation against the relevant ISO 22002-x:2025 sector standard well ahead of that audit, so any gaps between your existing procedures and the updated wording can be closed proactively rather than flagged as a nonconformity during the audit itself, which is a more disruptive way to discover the same gap.<\/p>\n<p>This is particularly relevant for Kuwait&rsquo;s food manufacturing and food packaging sectors, where PRP scope tends to be broad and detailed, covering everything from supplier approval through to pest management and equipment maintenance procedures, all of which can be affected by clause-level changes in the updated 2025 series. Involving operations staff, not only the quality team, in this review tends to surface practical gaps that a document-only review can miss.<\/p>\n<h2>PRPs in Context: FSSC 22000, ISO 22000 and GFSI Recognition<\/h2>\n<p>FSSC 22000 combines the <a href=\"https:\/\/iasiso-gulf.com\/KW\/iso-22000-certification-in-kuwait\/\">ISO 22000<\/a> food safety management system base standard with these sector-specific PRP technical specifications and FSSC&rsquo;s own additional scheme requirements. This combination is precisely what allows FSSC 22000 to be recognised under GFSI benchmarking, giving certified organisations in Kuwait a certificate that is accepted by major retailers and food businesses internationally, not just within the domestic market. Losing that recognition, or letting PRP compliance lapse against the current reference standard, would undermine the value of the certificate for export-focused Kuwaiti businesses in particular.<\/p>\n<p>Keeping PRP references current with the latest ISO 22002-x:2025 series is one of the ways FSSC keeps the scheme aligned with evolving industry practice, alongside the other Version 7 updates to auditor qualification, food chain category definitions and sustainability requirements. Each of these changes reinforces the same underlying goal of keeping FSSC 22000 credible against GFSI&rsquo;s own benchmarking cycle.<\/p>\n<p>For a fuller view of how the PRP update fits into the rest of the Version 7 changes, our <a href=\"https:\/\/iasiso-gulf.com\/KW\/fssc-22000-certification-in-kuwait\/\">FSSC 22000 certification page for Kuwait<\/a> covers the complete set of updates certified organisations across the region are working through right now, which is worth reviewing alongside your PRP-specific preparation.<\/p>\n<h2>Mistakes to Avoid With the PRP Transition<\/h2>\n<p>One common mistake is assuming the PRP reference change is purely a documentation formality. In practice, the ISO 22002-x:2025 series can include revised or expanded requirements in specific clauses, so a straight relabelling exercise without a genuine content review risks missing real gaps that an auditor will still find, sometimes in areas the team assumed were already covered.<\/p>\n<p>Another mistake is waiting for the certification body to identify PRP gaps during the audit itself. Because PRPs are foundational to the whole food safety management system, nonconformities found here can be more disruptive to resolve under time pressure than issues caught and corrected internally beforehand with no audit clock running. Corrective action plans agreed under pressure tend to be less thorough than changes made with adequate lead time.<\/p>\n<p>A third mistake is treating PRP content as identical across every sector standard. Kuwait sites with more than one activity type &mdash; manufacturing and storage, for example &mdash; need to confirm which specific part of the ISO 22002-x:2025 series applies to each part of their operation, since applying the wrong sector reference can itself become a finding. When in doubt, your certification body can confirm which part of the series governs each activity.<\/p>\n<h2>Preparing Your Kuwait Site With IAS Gulf<\/h2>\n<p>Because the PRP change is technical and sector-specific, it is one of the areas where trained internal auditors make the biggest difference &mdash; someone on your team needs to actually compare your current PRP procedures against the new ISO 22002-x:2025 wording before the external audit does it for you and turns a gap into a formal finding.<\/p>\n<p>IAS Gulf supports FSSC 22000 certified organisations in Kuwait with training that covers this PRP transition in detail, alongside the rest of the Version 7 changes. To get your team ready, explore the <a href=\"https:\/\/iasiso-gulf.com\/KW\/fssc-22000-lead-auditor-training-in-kuwait\/\">FSSC 22000 Lead Auditor<\/a> and <a href=\"https:\/\/iasiso-gulf.com\/KW\/fssc-22000-internal-auditor-training-in-kuwait\/\">Internal Auditor Training<\/a> programmes and book your audit team in before the transition window closes.<\/p>\n<p>Because Kuwait&rsquo;s food manufacturing and packaging sectors often operate to tight production schedules, resolving PRP documentation gaps well before the audit date, rather than during it, helps avoid unplanned corrective action timelines that can disrupt normal operations. A structured internal review, guided by staff who understand the updated ISO 22002-x:2025 wording, is the most efficient way to get there.<\/p>\n<h2>FSSC 22000 Version 6 vs Version 7: PRP Standards at a Glance<\/h2>\n<table class=\"ias-tw\"><thead><tr><th>Aspect<\/th><th>Version 6<\/th><th>Version 7<\/th><\/tr><\/thead><tbody><tr><td>PRP reference standard<\/td><td>ISO\/TS 22002-x series<\/td><td>ISO 22002-x:2025 series<\/td><\/tr><tr><td>Sector coverage<\/td><td>Manufacturing, catering, packaging, transport and storage under ISO\/TS 22002-x<\/td><td>Same sectors, now under the revised ISO 22002-x:2025 parts<\/td><\/tr><tr><td>Assessment trigger<\/td><td>Assessed at every surveillance and recertification audit<\/td><td>Assessed against 2025-series wording starting with each site&rsquo;s Version 7 audit<\/td><\/tr><tr><td>Documentation review<\/td><td>Aligned to older ISO\/TS 22002-x clause wording<\/td><td>Requires review and realignment to updated 2025-series clause wording<\/td><\/tr><tr><td>Certification cycle impact<\/td><td>Not applicable<\/td><td>No new certification cycle triggered; assessed at next scheduled audit<\/td><\/tr><tr><td>Relation to GFSI recognition<\/td><td>Supports GFSI-recognised status via ISO\/TS-based PRPs<\/td><td>Supports GFSI-recognised status via current ISO 22002-x:2025-based PRPs<\/td><\/tr><\/tbody><\/table>\n<p class=\"ias-src\">Note: exact FSSC 22000 Version 6 to Version 7 transition and cascade dates should be confirmed directly with your certification body.<\/p>\n<div class=\"ias-bio\"><p class=\"ias-bio-t\">About the author<\/p><p>Dr. C.D. Mohana Priya is a molecular geneticist, Associate Professor (Research) at Sri Ramachandra Institute of Higher Education and Research, Chennai, and an ISO 22000:2018 Lead Auditor, ISO 9001:2015 Lead Auditor and ISO 15189:2022 Internal Auditor. With 15+ years spanning laboratory quality management, food-safety systems and management-system training, she brings a scientific, standards-based rigour to FSSC 22000 auditor education.<\/p><\/div>\n<section class=\"ias-faq-section\"><h2 class=\"ias-faq-title\">Frequently Asked Questions<\/h2><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">What is the main PRP change in FSSC 22000 Version 7?<\/summary><div class=\"ias-faq-a\"><p>PRP references move from the ISO\/TS 22002-x series used under Version 6 to the newer ISO 22002-x:2025 series of sector-specific PRP standards. This is one of several substantive Version 7 changes.<\/p><\/div><\/details><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">Do I need new PRPs for FSSC 22000 Version 7 in Kuwait?<\/summary><div class=\"ias-faq-a\"><p>You need to review and align your existing PRPs with the relevant ISO 22002-x:2025 sector standard; this is assessed at your next scheduled surveillance or recertification audit, not immediately.<\/p><\/div><\/details><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">Which ISO 22002-x standard applies to my site?<\/summary><div class=\"ias-faq-a\"><p>It depends on your sector &mdash; separate parts of the ISO 22002-x series cover food manufacturing, catering, packaging, and transport and storage, among others. Confirm the correct part with your certification body if in doubt.<\/p><\/div><\/details><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">Is FSSC 22000 still based on ISO 22000 under Version 7?<\/summary><div class=\"ias-faq-a\"><p>Yes. FSSC 22000 Version 7 remains built on the ISO 22000 food safety management system base standard, combined with sector PRP standards and FSSC&rsquo;s additional requirements.<\/p><\/div><\/details><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">Can my internal audit team check PRP compliance before the external audit?<\/summary><div class=\"ias-faq-a\"><p>Yes, and it is recommended. A trained internal auditor can compare current PRP procedures against the ISO 22002-x:2025 wording and flag gaps well ahead of the external audit, reducing the risk of nonconformities.<\/p><\/div><\/details><details class=\"ias-faq-item\"><summary class=\"ias-faq-q\">Who should be involved in a PRP gap review at a Kuwait site?<\/summary><div class=\"ias-faq-a\"><p>Operations staff as well as the quality team &mdash; pest control, cleaning and maintenance procedures are usually run day to day by people outside the quality function, and a document-only review tends to miss how those procedures actually work on the floor.<\/p><\/div><\/details><\/section>\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"What is the main PRP change in FSSC 22000 Version 7?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"PRP references move from the ISO\/TS 22002-x series used under Version 6 to the newer ISO 22002-x:2025 series of sector-specific PRP standards. This is one of several substantive Version 7 changes.\"}}, {\"@type\": \"Question\", \"name\": \"Do I need new PRPs for FSSC 22000 Version 7 in Kuwait?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"You need to review and align your existing PRPs with the relevant ISO 22002-x:2025 sector standard; this is assessed at your next scheduled surveillance or recertification audit, not immediately.\"}}, {\"@type\": \"Question\", \"name\": \"Which ISO 22002-x standard applies to my site?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It depends on your sector &mdash; separate parts of the ISO 22002-x series cover food manufacturing, catering, packaging, and transport and storage, among others. Confirm the correct part with your certification body if in doubt.\"}}, {\"@type\": \"Question\", \"name\": \"Is FSSC 22000 still based on ISO 22000 under Version 7?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. FSSC 22000 Version 7 remains built on the ISO 22000 food safety management system base standard, combined with sector PRP standards and FSSC&rsquo;s additional requirements.\"}}, {\"@type\": \"Question\", \"name\": \"Can my internal audit team check PRP compliance before the external audit?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, and it is recommended. A trained internal auditor can compare current PRP procedures against the ISO 22002-x:2025 wording and flag gaps well ahead of the external audit, reducing the risk of nonconformities.\"}}, {\"@type\": \"Question\", \"name\": \"Who should be involved in a PRP gap review at a Kuwait site?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Operations staff as well as the quality team &mdash; pest control, cleaning and maintenance procedures are usually run day to day by people outside the quality function, and a document-only review tends to miss how those procedures actually work on the floor.\"}}]}<\/script>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-lvxhgp6\" data-id=\"lvxhgp6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0hcs0a3 elementor-widget elementor-widget-sidebar\" data-id=\"0hcs0a3\" data-element_type=\"widget\" data-widget_type=\"sidebar.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"text-44\" class=\"widget widget_text gdlr-item gdlr-widget\">\t\t\t<div class=\"textwidget\"><h5>To Enroll<\/h5>\n<p><a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/wp-content\/uploads\/2025\/08\/IAS-Application-FormV1.8-1.doc\" target=\"_self\"  style=\"color:#ffffff; background-color:#b02b2c; \"  >Application <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/wp-content\/uploads\/2020\/06\/IAS-BROUCHER.pdf\" target=\"_self\"  style=\"color:#ffffff; background-color:#476DB2; \"  >Brochure <\/a><br \/>\n<a class=\"gdlr-button small\" href=\"https:\/\/iasiso-gulf.com\/KW\/training-schedule\/\" target=\"_self\"  style=\"color:#ffffff; background-color:#476DB2; \"  >Training Schedule<\/a><\/p>\n<h5>Contact Us<\/h5>\n<!DOCTYPE html>\n<html lang=\"en\">\n  <meta charset=\"utf-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n  <link href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.3\/dist\/css\/bootstrap.min.css\" rel=\"stylesheet\">\n  <link\n  rel=\"stylesheet\"\n  href=\"https:\/\/cdn.jsdelivr.net\/gh\/lipis\/flag-icons@6.6.6\/css\/flag-icons.min.css\"\n\/>\n  <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@5.2.3\/dist\/js\/bootstrap.bundle.min.js\"><\/script>\n  <script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.6.4\/jquery.min.js\"><\/script>\n  <script src=\"https:\/\/www.google.com\/recaptcha\/api.js\" async defer><\/script>\n\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#myModalAlert, .modal{\n\tz-index:9999999 !important;\n}\n#myModalAlert .modal-dialog {\n\tz-index:10 !important;\n\tmargin-top: 40vh;\n}\n#myModalAlert .modal-header {\n\tpadding: 10px !important;\n\tbackground: #dee1e6;\n}\n#myModalAlert .modal-header .btn-close,\n#myModalAlert .modal-header .close {\n\topacity: 1 !important;\n\tcolor: #000 !important;\n\tfilter: none !important;\n}\n\n\n#myModalAlert .modal-body {\n\ttext-align: center;\n\tcolor:black;\n}\n.modal-backdrop.show {\nz-index: 100 !important;\nposition:relative !important;\n}\n.error, .mandatory {\n\tcolor:red;\n}\ninput {\ncolor:black !important;\n}\n.label{\nfont-size: 100%\n}\nh6:after{\nbackground: #fff;\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\/* Collapsible multi-checkbox dropdown for Product Name *\/\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  >Name: *<\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CustomerName\" placeholder=\"Enter 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\t\t\t\t\t\n                    <input type=\"hidden\" name=\"telephone_number\" value=\"\">\n                    <div class=\"mb-3\">\n                        <label>E-Mail:*<\/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: *<\/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\" style=\"position: absolute;z-index: 999999;\" 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: *<\/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:*<\/label>\n                       \n                        <div class=\"input-group m-0\">\n\t\t\t\t\t\t\t<span class=\"input-group-text\" id=\"CountryCode\" data-phone-length=\"\">+965<\/span>\n                        \t<input type=\"tel\" inputmode=\"numeric\" pattern=\"[0-9]*\" class=\"form-control\" id=\"MobileNumber\" placeholder=\"Enter mobile number\" name=\"MobileNumber\" required=\"required\">\n                        \t\n                        <\/div>\n\t\t\t\t\t\t<span class=\"error error_mobile_no\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\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: *<\/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\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: *<\/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: *<\/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-09-04\">\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\"><\/textarea>\n\t\t                     <span class=\"error error_enquiry\" style=\"color: red; font-size: 13px; margin-top: 5px; display: block;\"><\/span>\n\t\t                <\/div>\n\t\t            <\/div>\n\t\t\t\t\t<!--<div class=\"captcha\">\n\t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"6LdfrBMiAAAAANUyn31B8bi7ABPn9EZN_w-Jkf42\"><\/div>\n\t\t\t\t\t  <span class=\"error error_captcha\"><\/span>\n\t\t\t\t\t<\/div> -->\n\t\t\t\t\t<div class=\"mb-3\">\n                <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\/KW\/online-privacy-statement\/\" style=\"color:#A70000\" target=\"_blank\">IAS Online Privacy Statement<\/a><\/b><\/span><span class=\"mandatory\">*<\/span>\n                <\/label>\n                <span class=\"error error_privacy\" style=\"color: red; font-size: 13px; margin-top: 5px; display: block;\"><\/span>\n            <\/div>\n\t\t\t\t\t\n \t\t\t\t\t<div style=\"width:300px;max-width:100%;\">\n \t\t\t\t\t\t<label>Enter Captcha:<\/label>\n\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 decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/KW\/?stm_captcha=1788537909\" alt=\"captcha\" id=\"captchaImage\" style=\"border: 1px solid #ccc; padding: 5px; height: 80px; width: 260px; display: block;\">\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\t\t\t\t\n            <\/div>\n            \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<div class=\"modal\" id=\"error_pop\">\n\t\t  <div class=\"modal-dialog\" role=\"document\">\n\t\t\t<div class=\"modal-content\">\n\t\t\t  <div class=\"modal-header bg-danger text-white\">\n\t\t\t\t<center><h5 class=\"modal-title\" id=\"errorModalLabel\">Duplicate Email<\/h5><\/center>\n\t\t\t\t<button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\" aria-\t\t\t\t\t\tlabel=\"Close\"><\/button>\n\t\t\t  <\/div>\n\t\t\t  <div class=\"modal-body\" id=\"error_pop_con\">\n\n\t\t\t  <\/div>\n\t\t\t  <div class=\"modal-footer\">\n\t\t\t\t<div class=\"d-flex justify-content-end gap-2\">\n\t\t\t\t  <button type=\"button\" class=\"btn btn-outline-secondary\" id=\"cancelProceed\">Cancel<\/button>\n\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<\/div>\n\t\t\t  <\/div>\n\t\t\t<\/div>\n\t\t  <\/div>\n\t\t<\/div>\n\t\t\n\t\t<\/div>\n\t\t<\/div>\n    <\/div><script type='text\/javascript'>\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\tvar email_url = '';\n\t\t    $(document).ready(function() {\n\n\t\t    \t\/\/ Move modals to body so they aren't trapped inside container overflow\n\t\t    \t$('#myModalAlert, #error_pop').appendTo('body');\n\n\t\t    \t\/\/ Force the mobile country code + input onto one joined line, with a compact height.\n\t\t    \t\/\/ Works even if the theme strips Bootstrap \/ the input-group class.\n\t\t    \tfunction enforceMobileGroup(){\n\t\t    \t\tvar grp = $('#CountryCode').parent();\n\t\t    \t\tif(!grp.length) return;\n\t\t    \t\tgrp.css({\n\t\t    \t\t\t'display':'flex','flex-wrap':'nowrap','align-items':'stretch',\n\t\t    \t\t\t'width':'100%','margin':'0','padding':'0'\n\t\t    \t\t});\n\t\t    \t\t$('#CountryCode').css({\n\t\t    \t\t\t'display':'flex','align-items':'center','flex':'0 0 auto','width':'auto',\n\t\t    \t\t\t'white-space':'nowrap','padding':'12px 9px','font-size':'14px','line-height':'1.5',\n\t\t    \t\t\t'background':'#e9ecef','border':'1px solid #ced4da','border-right':'0',\n\t\t    \t\t\t'border-top-left-radius':'0.25rem','border-bottom-left-radius':'0.25rem',\n\t\t    \t\t\t'border-top-right-radius':'0','border-bottom-right-radius':'0',\n\t\t    \t\t\t'margin':'0','color':'#212529','box-sizing':'border-box'\n\t\t    \t\t});\n\t\t    \t\t$('#MobileNumber').css({\n\t\t    \t\t\t'display':'block','flex':'1 1 auto','width':'1%','min-width':'0','margin':'0',\n\t\t    \t\t\t'padding':'12px 9px','font-size':'14px','line-height':'1.5','height':'auto',\n\t\t    \t\t\t'border-top-left-radius':'0','border-bottom-left-radius':'0',\n\t\t    \t\t\t'border-top-right-radius':'0.25rem','border-bottom-right-radius':'0.25rem',\n\t\t    \t\t\t'box-sizing':'border-box'\n\t\t    \t\t});\n\t\t    \t}\n\t\t    \tenforceMobileGroup();\n\t\t    \tsetTimeout(enforceMobileGroup, 600);\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$('.scheme-checkbox-list').not(list).removeClass('show');\n\t\t    \t\t$('.scheme-dropdown-toggle').not(this).removeClass('open');\n\t\t    \t\tlist.toggleClass('show');\n\t\t    \t\t$(this).toggleClass('open');\n\t\t    \t});\n\t\t    \t$(document).on('click', '.scheme-checkbox-list', function(e){ e.stopPropagation(); });\n\t\t    \t$(document).on('click', function(){\n\t\t    \t\t$('.scheme-checkbox-list').removeClass('show');\n\t\t    \t\t$('.scheme-dropdown-toggle').removeClass('open');\n\t\t    \t});\n\n\t\t    \t\/\/ Update toggle label as user checks\/unchecks product names\n\t\t    \t$(document).on('change', '.product-name-chk', function(){\n\t\t    \t\tvar count = $('.product-name-chk:checked').length;\n\t\t    \t\tvar toggle = $('.scheme-dropdown-toggle[data-target=\"ProductNameCheckboxes\"]');\n\t\t    \t\tif(count === 0){\n\t\t    \t\t\ttoggle.text(toggle.data('default'));\n\t\t    \t\t} else if(count === 1){\n\t\t    \t\t\ttoggle.text($('.product-name-chk:checked').closest('label').text().trim());\n\t\t    \t\t} else {\n\t\t    \t\t\ttoggle.text(count + ' selected');\n\t\t    \t\t}\n\t\t    \t\t\/\/ Re-fetch the BCO assignment now that the user has actually picked products.\n\t\t    \t\t\/\/ Without this, .bco_assign_training keeps the empty value from the earlier\n\t\t    \t\t\/\/ fetchBcoTraining() call (fired on country\/state\/Type\/Category change while no\n\t\t    \t\t\/\/ products were checked), and SEO\/addEnquiry then writes Region not allocated\n\t\t    \t\t\/\/ into the email because the bco_assign POST field arrives empty.\n\t\t    \t\tfetchBcoTraining();\n\t\t    \t});\n\t\t    \t\/\/ Helper: reset ProductName toggle label + close panel\n\t\t    \twindow.resetProductNameToggle = function(){\n\t\t    \t\tvar toggle = $('.scheme-dropdown-toggle[data-target=\"ProductNameCheckboxes\"]');\n\t\t    \t\ttoggle.text(toggle.data('default')).removeClass('open');\n\t\t    \t\t$('#ProductNameCheckboxes').removeClass('show');\n\t\t    \t};\n\n\t\t    \t\/\/ Update toggle label as user checks\/unchecks product scheme\n\t\t    \t$(document).on('change', '.product-scheme-chk', function(){\n\t\t    \t\tvar count = $('.product-scheme-chk:checked').length;\n\t\t    \t\tvar toggle = $('.scheme-dropdown-toggle[data-target=\"productSchemeCheckboxes\"]');\n\t\t    \t\tif(count === 0){\n\t\t    \t\t\ttoggle.text(toggle.data('default'));\n\t\t    \t\t} else if(count === 1){\n\t\t    \t\t\ttoggle.text($('.product-scheme-chk:checked').closest('label').text().trim());\n\t\t    \t\t} else {\n\t\t    \t\t\ttoggle.text(count + ' selected');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t\/\/ Update toggle label as user checks\/unchecks process scheme\n\t\t    \t$(document).on('change', '.process-scheme-chk', function(){\n\t\t    \t\tvar count = $('.process-scheme-chk:checked').length;\n\t\t    \t\tvar toggle = $('.scheme-dropdown-toggle[data-target=\"processSchemeCheckboxes\"]');\n\t\t    \t\tif(count === 0){\n\t\t    \t\t\ttoggle.text(toggle.data('default'));\n\t\t    \t\t} else if(count === 1){\n\t\t    \t\t\ttoggle.text($('.process-scheme-chk:checked').closest('label').text().trim());\n\t\t    \t\t} else {\n\t\t    \t\t\ttoggle.text(count + ' selected');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t\/\/ Helper: reset a scheme toggle label to its default text\n\t\t    \twindow.resetSchemeToggleLabel = function(targetId){\n\t\t    \t\tvar toggle = $('.scheme-dropdown-toggle[data-target=\"'+targetId+'\"]');\n\t\t    \t\tvar defaultText = toggle.data('default') || '-- Select --';\n\t\t    \t\ttoggle.text(defaultText);\n\t\t    \t\ttoggle.removeClass('open');\n\t\t    \t\t$('#'+targetId).removeClass('show');\n\t\t    \t};\n\n\t\t    \t\/\/ Customer name \u2014 letters + space only (strip digits\/symbols on input)\n\t\t    \t$(document).on('input','#CustomerName', function(){\n\t\t    \t\tvar val = $(this).val();\n\t\t    \t\tval = val.replace(\/[^a-zA-Z ]\/g, '');\n\t\t    \t\t$(this).val(val);\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$('#captchaImage').attr('src', 'https:\/\/iasiso-gulf.com\/KW\/?stm_captcha=1788537909&t=' + new Date().getTime());\n\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');\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\tconsole.log($('#CountryCode').attr('data-phone-length'));\n\t\t\t\t\t\t$('#CountryCode').text(country_code).attr('data-phone-length', mobile_number_length).data('phone-length', mobile_number_length);\n\t\t\t\t\t\t\n\t\t\t\t\t\t\/\/ reset input and error message\n    \t\t\t\t\t$('#MobileNumber').val('');\n    \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            \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\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\n\t\t                    \/\/ Auto select Kuwait (country_id = 120)\n\t\t                    var default_country_id = 120;\n\t\t                    if(data.country_id == default_country_id){\n\t\t                        $('#countryDropdown').html(\n\t\t                            '<span class=\"fi fi-' + data.code.toLowerCase() + '\"><\/span> ' + data.country_name\n\t\t                        );\n\t\t                        $('#country_id').val(data.country_id);\n\n\t\t                        if(data.isd_code){\n\t\t                            $('#CountryCode')\n\t\t                                .text('+' + data.isd_code)\n\t\t                                .attr('data-phone-length', data.mobile_number_length)\n\t\t                                .data('phone-length', data.mobile_number_length);\n\t\t                        }\n\n\t\t                        var url2 = base_url_api + '\/getRegion';\n\t\t                        $.post(url2, { country: data.country_id }, function(states, status){\n\t\t                            if(states){ $('#State').html(states); }\n\t\t                        });\n\t\t                    }\n\t\t                });\n\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$(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 any non-digit characters immediately\n\t\t\t\t\tinputValue = inputValue.replace(\/[^0-9]\/g, '');\n\n\t\t\t\t\t\/\/ Prevent exceeding max length (slice)\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 info counter or clear when complete\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\t\t        })\n\n\t\t        \/\/ Cache the full original Category <select> HTML on first render, so we can rebuild later.\n\t\t        \/\/ (Cross-browser compatibility: hiding <option> in a <select> doesn't work in Chrome\/Safari,\n\t\t        \/\/  so we rebuild the <select> with only valid options instead.)\n\t\t        var _originalCategoryHTML = null;\n\t\t        \/\/ Plain-data cache of all categories \u2014 avoids DOM serialization weirdness with selected attribute\n\t\t        var _allCategories = [];   \/\/ [{val, text}, ...]\n\t\t        function _captureOriginalCategoryHTML(force){\n\t\t            \/\/ If force===true, always re-capture; otherwise only if not yet captured\n\t\t            if(force === true || _originalCategoryHTML === null){\n\t\t                var html = $('#Category').html();\n\t\t                \/\/ Only store if the select actually has real options (more than just placeholder)\n\t\t                if(html && $('#Category option').length > 1){\n\t\t                    _originalCategoryHTML = html;\n\t\t                    \/\/ Also capture as plain data\n\t\t                    _allCategories = [];\n\t\t                    $('#Category option').each(function(){\n\t\t                        _allCategories.push({ val: $(this).attr('value') || '', text: $(this).text() });\n\t\t                    });\n\t\t                }\n\t\t            }\n\t\t        }\n\t\t        \/\/ Rebuild #Category from plain data, optionally limited to a set of valid values.\n\t\t        \/\/ Always defaults to the placeholder being selected.\n\t\t        function _rebuildCategoryFromCache(validValues){\n\t\t            if(!_allCategories.length) return;\n\t\t            var html = '';\n\t\t            for(var i=0; i<_allCategories.length; i++){\n\t\t                var o = _allCategories[i];\n\t\t                if(!o.val){\n\t\t                    \/\/ placeholder always included AND explicitly marked selected\n\t\t                    html += '<option value=\"\" selected=\"selected\">'+o.text+'<\/option>';\n\t\t                    continue;\n\t\t                }\n\t\t                if(!validValues || validValues.indexOf(o.val) !== -1){\n\t\t                    html += '<option value=\"'+o.val+'\">'+o.text+'<\/option>';\n\t\t                }\n\t\t            }\n\t\t            var sel = $('#Category');\n\t\t            sel.html(html);\n\t\t            sel.val('');\n\t\t            var el = document.getElementById('Category');\n\t\t            if(el) el.selectedIndex = 0;\n\t\t            \/\/ select2 refresh: namespaced trigger updates the visible widget WITHOUT firing user change handlers\n\t\t            sel.trigger('change.select2');\n\t\t        }\n\n\t\t        \/\/Fetch Type and category\n\t\t        var url = base_url_api+'\/getTrainings';\n\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\n\t\t                \/\/ Capture original HTML AFTER categories are actually populated\n\t\t                _captureOriginalCategoryHTML(true);\n\t\t            }\n\t\t        });\n\n\t\t        \/\/ When Product Type changes \u2192 rebuild Category list to only categories that have products for this Type.\n\t\t        $('#Type').change(function(){\n\t\t            var Type = $(this).val();\n\n\t\t            \/\/ Capture categories if not yet captured (safety net in case API was still pending earlier)\n\t\t            if(_originalCategoryHTML === null){\n\t\t                _captureOriginalCategoryHTML(true);\n\t\t            }\n\n\t\t            \/\/ Reset downstream ProductName: explicitly uncheck, clear HTML, reset toggle, clear errors\n\t\t            $('.product-name-chk').prop('checked', false);\n\t\t            $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\t\t            if(typeof resetProductNameToggle === 'function') resetProductNameToggle();\n\t\t            $('.error_product_category, .error_product_name').text('');\n\n\t\t            \/\/ Synchronously reset Category to placeholder using the plain-data cache.\n\t\t            \/\/ Pass null to include ALL categories; async filter below will narrow them.\n\t\t            _rebuildCategoryFromCache(null);\n\n\t\t            if(!Type){\n\t\t                fetchBcoTraining();\n\t\t                return;\n\t\t            }\n\n\t\t            \/\/ Async: probe each category for products under this Type, then narrow the list.\n\t\t            var validOptions = [];\n\t\t            var pendingChecks = 0;\n\t\t            var checkDone = function(){\n\t\t                pendingChecks--;\n\t\t                if(pendingChecks <= 0){\n\t\t                    _rebuildCategoryFromCache(validOptions);\n\t\t                }\n\t\t            };\n\n\t\t            for(var i=0; i<_allCategories.length; i++){\n\t\t                var catVal = _allCategories[i].val;\n\t\t                if(!catVal) continue; \/\/ skip placeholder\n\t\t                pendingChecks++;\n\t\t                (function(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){ validOptions.push(catVal); }\n\t\t                            checkDone();\n\t\t                        },\n\t\t                        error: function(){\n\t\t                            \/\/ On error, keep the option visible (safe default)\n\t\t                            validOptions.push(catVal);\n\t\t                            checkDone();\n\t\t                        }\n\t\t                    });\n\t\t                })(catVal);\n\t\t            }\n\n\t\t            if(pendingChecks === 0){\n\t\t                _rebuildCategoryFromCache(validOptions);\n\t\t            }\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ When Category changes \u2192 populate ProductName checkboxes\n\t\t        $('#Category').change(function(){\n\t\t            var Category = $(this).val();\n\t\t            var Type = $('#Type').val();\n\n\t\t            \/\/ Reset downstream ProductName: explicitly uncheck, clear HTML, reset toggle, clear error\n\t\t            $('.product-name-chk').prop('checked', false);\n\t\t            $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\t\t            if(typeof resetProductNameToggle === 'function') resetProductNameToggle();\n\t\t            $('.error_product_name').text('');\n\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                        if(html && $.trim(html) !== ''){\n\t\t                            \/\/ Convert <option value=\"V\">T<\/option> response to checkboxes\n\t\t                            var chkHtml = '';\n\t\t                            $('<select>'+html+'<\/select>').find('option').each(function(){\n\t\t                                var v = $(this).attr('value');\n\t\t                                var t = $(this).text();\n\t\t                                if(v && $.trim(v) !== '') {\n\t\t                                    chkHtml += '<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=\"'+v+'\"> '+t+'<\/label><\/div>';\n\t\t                                }\n\t\t                            });\n\t\t                            if(chkHtml){\n\t\t                                $('#ProductNameCheckboxes').html(chkHtml);\n\t\t                            }\n\t\t                        }\n\t\t                    }\n\t\t                });\n\t\t            }\n\t\t            fetchBcoTraining();\n\t\t        });\n\t\t\t\t\n\t\t\t\t $('#cancelProceed').click(function(){\n\t\t        \t$('#EMail').val('');\n\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t        });\n\t\t\t\t\n\t\t\t\t$('#proceed_trn_enq').click(function(){\n\t\t        \t$('#proceed_trn_enq').attr('data-enquiry-type','same');\n\t\t        \t$('#proceed_trn_enq').attr('data-enquiry-id',$('#same_enquiry_id').val());\n\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\terror = 0\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t$('.btn-submit').click();\n\t\t\t\t\t}, 300);\n\t\t        });\n\t\t        \n\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 -> 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 -> 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\t\t\t\n\t\t        $('.btn-submit').click(function(e) {\n\t\t        \te.preventDefault();\n\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\n\t\t\t        \t\/\/ Privacy consent required\n\t\t\t        \tif(!$('#privacyCheck').is(':checked')){\n\t\t\t        \t\t$('.error_privacy').text('Please accept the IAS Online Privacy Statement to continue');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else{\n\t\t\t        \t\t$('.error_privacy').text('');\n\t\t\t        \t}\n\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 {\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\t\t\t        \t\/\/ Strict email pattern: requires valid local part, domain with at least one dot, and TLD of 2-24 letters\n\t\t\t        \tvar emailPattern = \/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\\.[a-zA-Z]{2,24}$\/;\n\t\t\t        \tvar validTLDs = ['com','org','net','edu','gov','mil','int','co','io','ai','app','dev','info','biz','name','pro','me','tv','us','uk','in','cn','jp','de','fr','it','es','ru','br','au','ca','mx','kr','nl','se','no','fi','dk','pl','be','ch','at','ie','nz','za','ae','sa','qa','om','bh','kw','eg','ma','ng','ke','tz','ug','gh','lk','bd','pk','np','id','my','sg','th','vn','ph','tw','hk','mo','il','tr','gr','pt','cz','sk','hu','ro','bg','ua','by','rs','hr','si','ee','lv','lt','is','lu','mt','cy','iq','ir','jo','lb','sy','ye','ly','tn','dz','online','site','store','tech','blog','shop','xyz','cloud','digital','email','website','agency','design','studio','services','solutions','world','life','space','live','today','center','company','group','news','media','network','systems','academy','school','training','education'];\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$('.error_email').text('Enter a valid email address');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\tvar emailParts = EMail.split('@');\n\t\t\t        \t\tvar domain = emailParts[1].toLowerCase();\n\t\t\t        \t\tvar tld = domain.split('.').pop();\n\t\t\t        \t\tif(validTLDs.indexOf(tld) === -1){\n\t\t\t        \t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\n\t\t\t        \t\t\terror = 1;\n\t\t\t        \t\t} else {\n\t\t\t        \t\t\tvar domainParts = domain.split('.');\n\t\t\t        \t\t\tvar secondLevel = domainParts[domainParts.length - 2];\n\t\t\t        \t\t\tif(!secondLevel || secondLevel.length < 2 || domain.indexOf('..') !== -1){\n\t\t\t        \t\t\t\t$('.error_email').text('Please enter a valid email address with a real domain');\n\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\t\t}\n\t\t\t        \t\t}\n\t\t\t        \t}\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\n\t\t\t        \tif(!MobileNumber){\n\t\t\t        \t\t$('.error_mobile_no').text('Enter the mobile number');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}\n\t\t\t\t\t\telse if (!\/^\\d+$\/.test(MobileNumber)) {\n\t\t\t\t\t\t\t\t$('.error_mobile_no').text('Only digits are allowed');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t        \t\tif($('.error_mobile_no').text() != ''){\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_mobile_no').text('');\n\t\t\t\t\t\t\t}\n\t\t\t        \t} \n\n\t\t\t        \tvar enquiry_type_val = $('input.enquiry_type:checked').val();\n\n\t\t\t        \t\/\/ Other enquiry type -- validate the textarea instead of training\/cert fields\n\t\t\t        \tif(enquiry_type_val == 2){\n\t\t\t        \t\tvar other_enquiry_val = $.trim($('#other_enquiry').val() || '');\n\t\t\t        \t\tif(!other_enquiry_val){\n\t\t\t        \t\t\t$('.error_enquiry').text('Please enter your enquiry details');\n\t\t\t        \t\t\terror = 1;\n\t\t\t        \t\t}else{\n\t\t\t        \t\t\t$('.error_enquiry').text('');\n\t\t\t        \t\t}\n\t\t\t        \t\t\/\/ Skip purposOf\/training\/cert validations for Other\n\t\t\t        \t\tif(error){\n\t\t\t        \t\t\t$('html, body').animate({ scrollTop: $('.error:visible:first').offset().top - 100 }, 400);\n\t\t\t        \t\t\treturn;\n\t\t\t        \t\t}\n\t\t\t        \t\tsubmitFinalForm();\n\t\t\t        \t\treturn;\n\t\t\t        \t}\n\n\t\t\t        \tvar purposOf  = $('#purposOf').val();\n\n\t\t\t        \tif(!purposOf){\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 ProductNameCount = $('.product-name-chk:checked').length;\n\n\t\t\t\t        \tif(ProductNameCount === 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        \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\n\t\t\t\t\t\t\t\n\t\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\t\t\n\t\t\t\t\t\tvar EMail = $('#EMail').val();\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 \tvar trn_prod_scheme = [];\n\t\t\t\t\t \t$('.product-name-chk:checked').each(function(){ trn_prod_scheme.push($(this).val()); });\n\t\t\t\t\t\t\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 if(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\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                            \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\tvar purposOf = $('#purposOf').val();\n                                var prod_scheme = [];\n                                $('.product-scheme-chk:checked').each(function(){ prod_scheme.push($(this).val()); });\n                                var proc_scheme = [];\n                                $('.process-scheme-chk:checked').each(function(){ proc_scheme.push($(this).val()); });\n\n                                \/\/ Check only for Certification or Training+Certification\n                                if ((purposOf == 2 || purposOf == 3) && (prod_scheme.length === 0 && proc_scheme.length === 0)) {\n                                    $('.error_process_scheme').text('Please choose any one process or product scheme.');\n                                    return; \/\/ Stop submission and prevent modal opening\n                                }\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                                        \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\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\n\t\t\t\t\t\/\/ Re-fetch the BCO based on currently checked products, then submit only AFTER\n\t\t\t\t\t\/\/ that fetch completes. Uses jQuery deferred (NOT async:false) \u2014 async:false\n\t\t\t\t\t\/\/ blocks the main thread and can interfere with other in-flight XHRs on the\n\t\t\t\t\t\/\/ page (e.g. the get_website_details call that populates the source_of_url\n\t\t\t\t\t\/\/ hidden field). Promise chaining is non-blocking and safe.\n\t\t\t\t\tvar t_country_id = $('#country_id').val();\n\t\t\t\t\tvar t_state_id   = $('#State').val();\n\t\t\t\t\tvar t_Category   = $('#Category').val();\n\t\t\t\t\tvar t_Type       = $('#Type').val();\n\t\t\t\t\tvar t_ProductArr = [];\n\t\t\t\t\t$('.product-name-chk:checked').each(function(){ t_ProductArr.push($(this).val()); });\n\t\t\t\t\tvar t_ProductName = t_ProductArr.join(',');\n\n\t\t\t\t\tvar bcoPromise;\n\t\t\t\t\tif(t_ProductName){\n\t\t\t\t\t\tbcoPromise = $.ajax({\n\t\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\t\turl:base_url+'\/Api\/get_bco_training',\n\t\t\t\t\t\t\tdata:'country_id='+t_country_id+'&state_id='+t_state_id+'&Category='+t_Category+'&Type='+t_Type+'&ProductName='+t_ProductName\n\t\t\t\t\t\t}).done(function(bco_id){ $('.bco_assign_training').val(bco_id); });\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbcoPromise = $.Deferred().resolve().promise();\n\t\t\t\t\t}\n\n\t\t\t\t\tbcoPromise.always(function(){\n\t\t\t\t\t\tvar form_data = $('#contct_form').serialize();\n\t\t\t\t\t\tvar url = base_url+'\/SEO\/addEnquiry';\n\t\t\t\t\t\tvar bco_assign = $('.bco_assign_training').val();\n\t\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t\t\t\t\tvar post_data = \"&bco_assign=\"+bco_assign+\"&company=\"+company+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId;\n\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\t\turl:url,\n\t\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\t\tif(data.status == 1){\n\t\t\t\t\t\t\t\t\t\/\/alert(data.message);\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(data.message);\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\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\t});\n\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\t\t\t\tvar cert_trn_type =  $('#purposOf').val();\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 \u2014 also reset all child dropdowns, errors\n\t\t        $('#purposOf').change(function() {\n\t\t        \tvar purpose = $(this).val();\n\n\t\t        \t\/\/ Helper: aggressively reset a <select> to its first <option>\n\t\t        \tfunction hardResetSelect(id){\n\t\t        \t\tvar selJ = $('#'+id);\n\t\t        \t\tif(!selJ.length) return;\n\t\t        \t\t\/\/ Clear every option's selected attribute, then mark first as selected\n\t\t        \t\tselJ.find('option').prop('selected', false).removeAttr('selected');\n\t\t        \t\tselJ.find('option:first').prop('selected', true).attr('selected','selected');\n\t\t        \t\t\/\/ Also set via value + native selectedIndex\n\t\t        \t\tselJ.val(selJ.find('option:first').val() || '');\n\t\t        \t\tvar el = document.getElementById(id);\n\t\t        \t\tif(el) el.selectedIndex = 0;\n\t\t        \t\t\/\/ select2 refresh: namespaced trigger updates the visible widget WITHOUT firing user change handlers\n\t\t        \t\tselJ.trigger('change.select2');\n\t\t        \t}\n\n\t\t        \t\/\/ Restore full Category list from clean plain-data cache (resets to placeholder)\n\t\t        \tif(typeof _rebuildCategoryFromCache === 'function'){\n\t\t        \t\t_rebuildCategoryFromCache(null);\n\t\t        \t}\n\n\t\t        \t\/\/ Hard-reset Type and cert_Type selects\n\t\t        \thardResetSelect('Type');\n\t\t        \thardResetSelect('cert_Type');\n\n\t\t        \t\/\/ Belt-and-braces: also direct-set the values + selectedIndex\n\t\t        \t$('#Type').val('');\n\t\t        \t$('#Category').val('');\n\t\t        \t$('#cert_Type').val('');\n\t\t        \tif(document.getElementById('Type')) document.getElementById('Type').selectedIndex = 0;\n\t\t        \tif(document.getElementById('Category')) document.getElementById('Category').selectedIndex = 0;\n\t\t        \tif(document.getElementById('cert_Type')) document.getElementById('cert_Type').selectedIndex = 0;\n\n\t\t        \t\/\/ Reset ProductName checkboxes\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\t\t        \tif(typeof resetProductNameToggle === 'function') resetProductNameToggle();\n\n\t\t        \t\/\/ Reset cert scheme checkboxes + their toggle labels\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \tif(typeof resetSchemeToggleLabel === 'function'){\n\t\t        \t\tresetSchemeToggleLabel('productSchemeCheckboxes');\n\t\t        \t\tresetSchemeToggleLabel('processSchemeCheckboxes');\n\t\t        \t}\n\n\t\t        \t\/\/ Clear all related error messages\n\t\t        \t$('.error_trg_cert, .error_cert_product_type, .error_product_type, .error_product_category, .error_product_name, .error_process_scheme, .error_enquiry').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\t$('.process_section').hide();\n\t\t\t\t\t\t$('.product_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$('.certification_prod_section').show();\n\t\t\t\t\t\t$('.process_section').hide();\n\t\t\t\t\t\t$('.product_section').hide();\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\t\t\t$('.process_section').hide();\n\t\t\t\t\t\t$('.product_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\t\t\t$('.process_section').hide();\n\t\t\t\t\t\t$('.product_section').hide();\n\t\t        \t}\n\n\t\t       })\n\t\t\t   \n\t\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        \tif(typeof resetSchemeToggleLabel === 'function'){\n\t\t        \t\tresetSchemeToggleLabel('productSchemeCheckboxes');\n\t\t        \t\tresetSchemeToggleLabel('processSchemeCheckboxes');\n\t\t        \t}\n\n\t\t        \t\/\/ Clear related error messages\n\t\t        \t$('.error_process_scheme, .error_product_name, .error_cert_product_type').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}else {\n\t\t        \t\t$('.process_section').hide();\n\t\t        \t\t$('.product_section').hide();\n\t\t        \t}\n\n\t\t       })\n\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})\t\t\t\t\t \n\t\t\t\t\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 ProductNameArr \t= [];\n\t\t            $('.product-name-chk:checked').each(function(){ ProductNameArr.push($(this).val()); });\n\t\t            var ProductName = ProductNameArr.join(',');\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;\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\t\t\t\n<\/script>\n<\/html>\n\n<\/div>\n\t\t<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>By Dr. C.D. Mohana Priya &nbsp;|&nbsp; ISO 22000:2018 Lead Auditor &amp; Laboratory Quality Tutor The core PRP change between FSSC 22000 Version 6 and Version 7 is that prerequisite programme references move from the older ISO\/TS 22002-x series to the newer ISO 22002-x:2025 series of sector-specific standards. For food manufacturers, packaging producers and other certified&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/iasiso-gulf.com\/KW\/blog\/fssc-22000-version-7-key-prp-changes-kuwait\/\" class=\"gdlr-button with-border excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6025","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/posts\/6025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/comments?post=6025"}],"version-history":[{"count":2,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/posts\/6025\/revisions"}],"predecessor-version":[{"id":6030,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/posts\/6025\/revisions\/6030"}],"wp:attachment":[{"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/media?parent=6025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/categories?post=6025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iasiso-gulf.com\/KW\/wp-json\/wp\/v2\/tags?post=6025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}