{"id":6537,"date":"2026-09-10T09:00:36","date_gmt":"2026-09-10T09:00:36","guid":{"rendered":"https:\/\/iasiso-gulf.com\/OM\/?page_id=6537"},"modified":"2026-09-10T09:00:41","modified_gmt":"2026-09-10T09:00:41","slug":"cgmp-internal-auditor-training","status":"publish","type":"page","link":"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/","title":{"rendered":"cGMP Internal Auditor Training in Oman"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6537\" class=\"elementor elementor-6537\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-15debe71 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"15debe71\" 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-302ba3e8\" data-id=\"302ba3e8\" 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-3e74043d elementor-widget elementor-widget-text-editor\" data-id=\"3e74043d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A course is where an internal auditor starts, not where they arrive. cGMP internal auditor training supplies the method for auditing a manufacturing operation against current Good Manufacturing Practice requirements. The first few real audits are what turn that method into judgement.<\/p>\n\n<p>Companies sometimes expect a course to produce a finished auditor. It does not, and no honest provider claims otherwise. A cGMP internal audit course gets someone to the point of conducting a useful audit under guidance, with a framework for improving each time. Understanding that progression is what stops a new audit programme stalling after its first cycle.<\/p>\n\n<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/OM\/wp-content\/uploads\/2026\/09\/oman-cgmp-internal-auditor-training-production-line.png\" alt=\"Quality assurance staff monitoring a pharmaceutical production line during an internal audit\" style=\"width:100%;height:auto;border-radius:6px;margin:8px 0 24px;\" \/>\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_78 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#what-cgmp-internal-auditor-training-covers\" >What cGMP Internal Auditor Training Covers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#how-an-internal-auditor-develops\" >How an Internal Auditor Develops<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#what-competence-actually-consists-of\" >What Competence Actually Consists Of<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#the-first-three-audits\" >The First Three Audits<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#what-an-internal-auditor-does\" >What an Internal Auditor Does<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#who-should-attend-cgmp-internal-auditor-training\" >Who Should Attend cGMP Internal Auditor Training<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#skills-participants-develop\" >Skills Participants Develop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#why-this-matters-to-manufacturers\" >Why This Matters to Manufacturers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#training-compared-with-certification\" >Training Compared With Certification<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#cgmp-internal-auditor-training-in-oman-course-details\" >cGMP Internal Auditor Training in Oman: Course Details<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#objective\" >Objective<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#coverage\" >Coverage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#outcomes\" >Outcomes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#formats\" >Formats<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#frequently-asked-questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#is-someone-a-qualified-internal-auditor-as-soon-as-they-finish-the-course\" >Is someone a qualified internal auditor as soon as they finish the course?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#how-long-does-it-take-to-develop-a-new-internal-auditor\" >How long does it take to develop a new internal auditor?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#how-does-a-company-evidence-that-its-auditors-are-competent\" >How does a company evidence that its auditors are competent?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#can-one-person-run-the-whole-internal-audit-programme\" >Can one person run the whole internal audit programme?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#should-new-auditors-start-with-production-areas\" >Should new auditors start with production areas?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#do-internal-auditors-need-refresher-training\" >Do internal auditors need refresher training?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-22\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#who-reviews-a-new-auditors-reports\" >Who reviews a new auditor&#8217;s reports?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-23\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#what-if-an-auditor-lacks-technical-knowledge-of-the-area-being-audited\" >What if an auditor lacks technical knowledge of the area being audited?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-24\" href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/#what-does-the-company-hold-at-the-end-of-the-course-and-is-it-enough\" >What does the company hold at the end of the course, and is it enough?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"what-cgmp-internal-auditor-training-covers\"><\/span>What cGMP Internal Auditor Training Covers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>The course equips employees to audit the organisation they work for, measuring it against GMP and cGMP requirements together with the company&#8217;s own documented system.<\/p>\n\n<p>The &#8220;c&#8221; in cGMP means current. Procedures, training and records are expected to keep pace with how the plant actually runs, and internal auditing is the routine check that they have. That check is only as good as the person performing it, so internal auditor competence sits inside the quality system rather than beside it.<\/p>\n\n<p>Content spans GMP fundamentals, the audit cycle from planning to verified closure, and auditor conduct. Should the company also want the site examined by an outside body, that is a different process, laid out on the <a href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-certification-in-oman\/\">cGMP certification in Oman<\/a> page.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"how-an-internal-auditor-develops\"><\/span>How an Internal Auditor Develops<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/OM\/wp-content\/uploads\/2026\/09\/oman-cgmp-internal-auditor-development-path-diagram.png\" alt=\"Internal auditor development path \u2014 train, observe, assist, lead, mentor\" style=\"width:100%;height:auto;margin:8px 0 4px;\" \/>\n<p style=\"font-style:italic;color:#555;font-size:0.95em;margin-top:0;\">How an internal auditor develops \u2014 the course covers the first stage; competence is built across the next three.<\/p>\n\n<p>The progression above is how most manufacturers build capability, and it usually takes a few months rather than a few weeks.<\/p>\n\n<p><strong>Training<\/strong> supplies the method: scope and criteria, checklists, sampling, evidence, classification, reporting and follow-up. At the end of it a participant knows what an audit consists of and why each step exists.<\/p>\n\n<p><strong>Observing<\/strong> an audit run by someone experienced converts that knowledge into recognition. The new auditor sees how a checklist item turns into a request, how an evasive answer is handled, how a finding is worded in real time. This stage is short \u2014 one or two audits \u2014 but skipping it costs more time later.<\/p>\n\n<p><strong>Assisting<\/strong> means taking part of the audit under supervision. Typically the new auditor handles record review or one process area while the lead handles the rest, and they draft findings together afterwards. This is where wording discipline is learned, because a first attempt at a finding is almost always too vague or too strongly worded.<\/p>\n\n<p><strong>Leading<\/strong> starts with a low-risk area \u2014 a support function, a straightforward document review \u2014 before moving to production or laboratory areas. The lead auditor prepares, runs and reports the audit; someone experienced reviews the report before issue.<\/p>\n\n<p><strong>Mentoring<\/strong> completes the cycle. An auditor who can bring the next person through the same progression is what makes the programme survive staff turnover, which is the point at which most internal audit programmes quietly fail.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"what-competence-actually-consists-of\"><\/span>What Competence Actually Consists Of<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>Competence is not attendance. The training covers what a company should be able to evidence about each of its auditors.<\/p>\n\n<table>\n<thead><tr><th>Element<\/th><th>What it means in practice<\/th><th>How it is demonstrated<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Method knowledge<\/td><td>Understands the audit cycle, evidence and classification<\/td><td>Course completion and assessment<\/td><\/tr>\n<tr><td>Technical grounding<\/td><td>Knows enough GMP to recognise adequate control in the area audited<\/td><td>Role experience, or additional training for unfamiliar areas<\/td><\/tr>\n<tr><td>Independence<\/td><td>Does not audit areas they work in or are responsible for<\/td><td>Audit programme assignment records<\/td><\/tr>\n<tr><td>Applied practice<\/td><td>Has conducted audits and produced usable reports<\/td><td>Audit reports issued, reviewed by an experienced auditor<\/td><\/tr>\n<tr><td>Judgement<\/td><td>Grades consistently and words findings factually<\/td><td>Consistency of classification across auditors; report review<\/td><\/tr>\n<tr><td>Currency<\/td><td>Keeps up as procedures and the audit programme change<\/td><td>Periodic refresher and participation in the ongoing programme<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n<p>Most companies record these in a simple auditor competence file. It matters more than it appears: when a customer auditor asks who conducts your internal audits and how you know they are competent, that file is the answer.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"the-first-three-audits\"><\/span>The First Three Audits<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>New auditors benefit from being told what to concentrate on rather than being left to absorb everything at once.<\/p>\n\n<table>\n<thead><tr><th>Audit<\/th><th>Focus on<\/th><th>Do not worry yet about<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>First<\/td><td>Preparation and checklist quality \u2014 arriving knowing where to look<\/td><td>Covering the full scope; depth beats breadth<\/td><\/tr>\n<tr><td>Second<\/td><td>Evidence discipline \u2014 recording references as you go, not afterwards<\/td><td>Speed; a slow, well-referenced audit is a good audit<\/td><\/tr>\n<tr><td>Third<\/td><td>Finding wording and classification \u2014 requirement, evidence, gap<\/td><td>Handling disagreement; the lead auditor still carries that<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n<p>By the fourth or fifth audit these become habit, and attention shifts to the harder parts. Those parts include knowing when to widen a sample and judging whether a corrective action addresses the cause. They also include holding a classification when someone senior disputes it.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"what-an-internal-auditor-does\"><\/span>What an Internal Auditor Does<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>The underlying work does not change with experience, only the speed and confidence with which it is done. Reading comes first \u2014 procedures, the last report, whatever corrective actions remain open \u2014 and produces a checklist that names what will be looked at and how much of it. On the day, the auditor watches the activity, talks to the people running it, and pulls the records that should describe it. The auditor holds all three against the criteria and notes references as they go.<\/p>\n\n<p>Findings are drafted and classified before the closing meeting and worded as requirement, evidence, then gap, without adjectives and without naming individuals. Afterwards the auditor reviews the corrective action and returns to verify that it worked.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"who-should-attend-cgmp-internal-auditor-training\"><\/span>Who Should Attend cGMP Internal Auditor Training<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<table>\n<thead><tr><th>Participant<\/th><th>What the progression view gives them<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Newly appointed internal auditors<\/td><td>A realistic picture of how competence develops, and what to focus on first<\/td><\/tr>\n<tr><td>QA managers building a programme<\/td><td>A structure for developing auditors rather than training and hoping<\/td><\/tr>\n<tr><td>Production and QC supervisors<\/td><td>Understanding of what an auditor is trained to do and why<\/td><\/tr>\n<tr><td>Engineering and validation staff<\/td><td>Coverage of calibration, qualification and change-control evidence<\/td><\/tr>\n<tr><td>Warehouse and materials personnel<\/td><td>Receipt, storage, release and traceability records<\/td><\/tr>\n<tr><td>Management representatives<\/td><td>A defensible answer when asked how auditor competence is assured<\/td><\/tr>\n<tr><td>Contract manufacturers<\/td><td>Evidence of auditor competence is itself examined during client audits<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n<p>No prior audit experience is assumed. Employees already working inside a GMP system move through the progression fastest, since the technical grounding is already there. Anyone new to manufacturing quality generally starts with a <a href=\"https:\/\/onlinecourse.eascertification.com\/foundation-course\/online-sl-cgmp\" target=\"_blank\" rel=\"noopener\">cGMP foundation course<\/a> before the auditor training.<\/p>\n\n<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/OM\/wp-content\/uploads\/2026\/09\/oman-cgmp-internal-auditors-reviewing-checklist.png\" alt=\"Two auditors reviewing an internal audit checklist inside a manufacturing facility\" style=\"width:100%;height:auto;border-radius:6px;margin:8px 0 24px;\" \/>\n\n<h2><span class=\"ez-toc-section\" id=\"skills-participants-develop\"><\/span>Skills Participants Develop<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<ul>\n<li>Preparing an audit thoroughly enough to arrive knowing where to look<\/li>\n<li>Building checklist items that name a source, a sample and a comparison<\/li>\n<li>Sampling records so the sample represents the period audited<\/li>\n<li>Observing an activity happening genuinely rather than being demonstrated<\/li>\n<li>Interviewing with open questions and following the answers<\/li>\n<li>Recording referenced evidence during the audit rather than reconstructing it<\/li>\n<li>Classifying findings consistently against a defined scale<\/li>\n<li>Wording findings as requirement, evidence and gap<\/li>\n<li>Reviewing a corrective action against whether it would prevent recurrence<\/li>\n<li>Verifying effectiveness by returning to records and the floor<\/li>\n<li>Recognising the limits of their own experience and asking for support<\/li>\n<\/ul>\n\n<h2><span class=\"ez-toc-section\" id=\"why-this-matters-to-manufacturers\"><\/span>Why This Matters to Manufacturers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>Audit programmes rarely fail because nobody was trained. They fail because one trained person carried the whole programme and then moved on. They also fail when auditors were trained and then left to work it out alone. Those auditors produced weak reports and lost confidence in the exercise.<\/p>\n\n<p>Building competence deliberately \u2014 train, observe, assist, lead, mentor \u2014 avoids both. It also produces something a customer auditor will ask for: a clear account of who audits, what they were trained in, what they have audited, and who checks their work.<\/p>\n\n<p>Readers wanting the requirements background will find it in the IAS <a href=\"https:\/\/www.iascertification.com\/gmp-certification\/\" target=\"_blank\" rel=\"noopener\">GMP certification<\/a> overview, with regional context in the article on <a href=\"https:\/\/iasiso-middleeast.com\/EG\/blog\/cgmp-standards-egypt\/\" target=\"_blank\" rel=\"noopener\">cGMP standards<\/a>.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"training-compared-with-certification\"><\/span>Training Compared With Certification<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<table>\n<thead><tr><th><\/th><th>cGMP Internal Auditor Training<\/th><th>cGMP Certification<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>Applies to<\/td><td>Individual employees<\/td><td>The organisation and its manufacturing site<\/td><\/tr>\n<tr><td>Audit type<\/td><td>First-party, conducted internally<\/td><td>Third-party, conducted independently<\/td><\/tr>\n<tr><td>Produces<\/td><td>Competent auditors and a training record<\/td><td>A certificate covering a defined scope<\/td><\/tr>\n<tr><td>Sustained by<\/td><td>Continued practice and periodic refresher<\/td><td>Surveillance audits and recertification<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n<p>The two are connected but distinct. A certified system is expected to audit itself competently, so auditor development supports certification. Even so, a course does not certify a company, and a certificate says nothing about whether individual auditors are competent.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"cgmp-internal-auditor-training-in-oman-course-details\"><\/span>cGMP Internal Auditor Training in Oman: Course Details<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<p>How long cGMP Internal Auditor Training in Oman runs depends on the number of participants and the route chosen, and the fees are set out in the same written quotation. Each participant who finishes receives a certificate of completion recording the syllabus and the date, which belongs in their training file.<\/p>\n\n<p>The course teaches report writing: stating a finding that holds up under discussion, and reaching the root cause of a repeat issue without naming anyone.<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"objective\"><\/span>Objective<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Prepare participants to plan, conduct, report and follow up internal audits of GMP and cGMP quality systems, and to continue developing through supervised practice.<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"coverage\"><\/span>Coverage<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>GMP and cGMP fundamentals; criteria and scope; planning and checklist preparation; sampling; observation and interviewing; objective evidence; nonconformity classification; findings and report writing; corrective-action review and effectiveness verification; auditor independence, conduct and competence.<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"outcomes\"><\/span>Outcomes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Participants should be able to prepare and conduct an internal audit under guidance and gather referenced evidence. They should also raise and word nonconformities, produce a report, evaluate corrective actions, and identify where their own experience needs support.<\/p>\n\n<h3><span class=\"ez-toc-section\" id=\"formats\"><\/span>Formats<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Offered in classroom, live virtual, self-paced online and in-house formats. Companies developing several auditors at once often start everyone on <a href=\"https:\/\/onlinecourse.eascertification.com\/internal-auditor\/online-sl-cgmp-training\" target=\"_blank\" rel=\"noopener\">online cGMP internal auditor training<\/a> for the method, then pair them for the observe-and-assist stages on real audits; <a href=\"https:\/\/onlinecourse.eascertification.com\/internal-auditor\/virtual-cgmp-training\" target=\"_blank\" rel=\"noopener\">virtual cGMP training<\/a> suits teams split across locations. Full syllabus detail for Oman sits on the IAS <a href=\"https:\/\/www.iascertification.com\/gmp-internal-auditor-training\/\" target=\"_blank\" rel=\"noopener\">GMP internal auditor training<\/a> page.<\/p>\n\n<p>Tell us the site location, what you manufacture and how many auditors you intend to develop, and we will recommend a format and sequence. Said plainly: IAS trains auditors and certifies management systems. It does not license facilities or approve products \u2014 those are regulatory decisions, unaffected by any course.<\/p>\n\n<h2><span class=\"ez-toc-section\" id=\"frequently-asked-questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<div class=\"ias-om-faq\">\n<details><summary><h3><span class=\"ez-toc-section\" id=\"is-someone-a-qualified-internal-auditor-as-soon-as-they-finish-the-course\"><\/span>Is someone a qualified internal auditor as soon as they finish the course?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>They are trained, which is not quite the same thing. The course provides the method and the assessment confirms they have understood it. Competence comes from applying it \u2014 typically observing one audit, assisting on another, then leading a low-risk area with report review. Most companies treat someone as fully independent after three or four audits.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"how-long-does-it-take-to-develop-a-new-internal-auditor\"><\/span>How long does it take to develop a new internal auditor?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>Usually a few months rather than a few weeks, because the pace is set by how often audits occur rather than by study time. A site running audits monthly can bring someone through observe, assist and lead within a quarter. A site auditing twice a year will take considerably longer, which is worth factoring into programme planning.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"how-does-a-company-evidence-that-its-auditors-are-competent\"><\/span>How does a company evidence that its auditors are competent?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>Through a simple auditor qualification record: training completed and assessed, relevant technical background, audits conducted, reports issued and reviewed, and independence from the areas audited. Customer auditors and certification bodies ask this question, and &#8220;they attended a course&#8221; is a weaker answer than most companies expect.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"can-one-person-run-the-whole-internal-audit-programme\"><\/span>Can one person run the whole internal audit programme?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>It is possible but fragile. A single auditor cannot be independent of their own department, which leaves a gap in coverage, and the programme stops entirely when they are unavailable or leave. Training a small cross-functional group solves both problems and usually improves audit quality, since different backgrounds notice different things.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"should-new-auditors-start-with-production-areas\"><\/span>Should new auditors start with production areas?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>Generally not. A support function or a focused document review lets a new auditor practise preparation, evidence discipline and finding wording without also managing a complex area and a busy schedule. Production and laboratory audits demand more judgement about sampling and more confidence in discussion, and are better tackled third or fourth.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"do-internal-auditors-need-refresher-training\"><\/span>Do internal auditors need refresher training?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>Periodically, yes \u2014 particularly when the audit programme changes, when procedures are substantially revised, or when an auditor has not conducted an audit for a long stretch. Refreshers also help with consistency: where several auditors grade the same situation differently, a short recalibration session is usually the fix.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"who-reviews-a-new-auditors-reports\"><\/span>Who reviews a new auditor&#8217;s reports?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>An experienced auditor or the quality system owner, before the report is issued. The review targets wording and classification rather than rewriting the content. New auditors typically word findings too vaguely to act on, or occasionally too strongly for the evidence \u2014 both are quickly corrected when someone reads the draft first.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"what-if-an-auditor-lacks-technical-knowledge-of-the-area-being-audited\"><\/span>What if an auditor lacks technical knowledge of the area being audited?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>Method carries a long way, but not the whole distance. An auditor unfamiliar with, say, laboratory testing can still audit documentation and traceability there, while a technically stronger auditor covers method-specific questions. Pairing auditors for such areas is standard practice, and the training explains how to scope around a known knowledge gap honestly rather than bluffing through it.<\/p><\/details>\n\n<details><summary><h3><span class=\"ez-toc-section\" id=\"what-does-the-company-hold-at-the-end-of-the-course-and-is-it-enough\"><\/span>What does the company hold at the end of the course, and is it enough?<span class=\"ez-toc-section-end\"><\/span><\/h3><\/summary>\n<p>A training record showing the course was completed and the assessment passed. It belongs in the personnel file, and it is one component of competence rather than the whole of it. On its own it establishes that someone was taught the method. The audits they go on to conduct, and the reports reviewed by an experienced auditor, are what complete the picture \u2014 which is precisely why the progression described above matters.<\/p><\/details>\n<\/div>\n\n<style>\n.ias-om-faq details{border:1px solid #e2e6ea;border-radius:6px;margin-bottom:10px;padding:12px 16px;}\n.ias-om-faq summary{cursor:pointer;list-style:none;}\n.ias-om-faq summary::-webkit-details-marker{display:none;}\n.ias-om-faq summary h3{display:inline;font-size:1.05em;margin:0;}\n.ias-om-faq p{margin:10px 0 0;}\ntable{border-collapse:collapse;width:100%;margin:16px 0;}\ntable th, table td{border:1px solid #e2e6ea;padding:10px 12px;text-align:left;vertical-align:top;}\ntable th{background:#f4f6f8;font-weight:600;}\n<\/style>\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\"@type\": \"Question\", \"name\": \"Is someone a qualified internal auditor as soon as they finish the course?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"They are trained, which is not quite the same thing. The course provides the method and the assessment confirms they have understood it. Competence comes from applying it \u2014 typically observing one audit, assisting on another, then leading a low-risk area with report review. Most companies treat someone as fully independent after three or four audits.\"}},\n    {\"@type\": \"Question\", \"name\": \"How long does it take to develop a new internal auditor?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Usually a few months rather than a few weeks, because the pace is set by how often audits occur rather than by study time. A site running audits monthly can bring someone through observe, assist and lead within a quarter. A site auditing twice a year will take considerably longer, which is worth factoring into programme planning.\"}},\n    {\"@type\": \"Question\", \"name\": \"How does a company evidence that its auditors are competent?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Through a simple auditor qualification record: training completed and assessed, relevant technical background, audits conducted, reports issued and reviewed, and independence from the areas audited. Customer auditors and certification bodies ask this question, and \\\"they attended a course\\\" is a weaker answer than most companies expect.\"}},\n    {\"@type\": \"Question\", \"name\": \"Can one person run the whole internal audit programme?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"It is possible but fragile. A single auditor cannot be independent of their own department, which leaves a gap in coverage, and the programme stops entirely when they are unavailable or leave. Training a small cross-functional group solves both problems and usually improves audit quality, since different backgrounds notice different things.\"}},\n    {\"@type\": \"Question\", \"name\": \"Should new auditors start with production areas?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Generally not. A support function or a focused document review lets a new auditor practise preparation, evidence discipline and finding wording without also managing a complex area and a busy schedule. Production and laboratory audits demand more judgement about sampling and more confidence in discussion, and are better tackled third or fourth.\"}},\n    {\"@type\": \"Question\", \"name\": \"Do internal auditors need refresher training?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Periodically, yes \u2014 particularly when the audit programme changes, when procedures are substantially revised, or when an auditor has not conducted an audit for a long stretch. Refreshers also help with consistency: where several auditors grade the same situation differently, a short recalibration session is usually the fix.\"}},\n    {\"@type\": \"Question\", \"name\": \"Who reviews a new auditor's reports?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"An experienced auditor or the quality system owner, before the report is issued. The review targets wording and classification rather than rewriting the content. New auditors typically word findings too vaguely to act on, or occasionally too strongly for the evidence \u2014 both are quickly corrected when someone reads the draft first.\"}},\n    {\"@type\": \"Question\", \"name\": \"What if an auditor lacks technical knowledge of the area being audited?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Method carries a long way, but not the whole distance. An auditor unfamiliar with, say, laboratory testing can still audit documentation and traceability there, while a technically stronger auditor covers method-specific questions. Pairing auditors for such areas is standard practice, and the training explains how to scope around a known knowledge gap honestly rather than bluffing through it.\"}},\n    {\"@type\": \"Question\", \"name\": \"What does the company hold at the end of the course, and is it enough?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"A training record showing the course was completed and the assessment passed. It belongs in the personnel file, and it is one component of competence rather than the whole of it. On its own it establishes that someone was taught the method. The audits they go on to conduct, and the reports reviewed by an experienced auditor, are what complete the picture \u2014 which is precisely why the progression described above matters.\"}}\n  ]\n}\n<\/script>\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"Course\",\n  \"name\": \"cGMP Internal Auditor Training in Oman\",\n  \"description\": \"Training to prepare participants to plan, conduct, report and follow up internal audits of GMP and cGMP quality systems, and to continue developing through supervised practice.\",\n  \"provider\": {\n    \"@type\": \"Organization\",\n    \"name\": \"IAS (Integrated Assessment Services)\",\n    \"sameAs\": \"https:\/\/iasiso-gulf.com\/OM\/\"\n  },\n  \"coursePrerequisites\": \"No prior audit experience required; employees already working inside a GMP system progress fastest.\",\n  \"educationalCredentialAwarded\": \"Certificate of completion recording the syllabus and date\",\n  \"hasCourseInstance\": [\n    {\"@type\": \"CourseInstance\", \"courseMode\": \"onsite\"},\n    {\"@type\": \"CourseInstance\", \"courseMode\": \"online\"}\n  ]\n}\n<\/script>\n\t\t\t\t\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-4fbdf97\" data-id=\"4fbdf97\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-9fbec52 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9fbec52\" 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-100 elementor-inner-column elementor-element elementor-element-2d542de\" data-id=\"2d542de\" 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-a5e0a46 elementor-widget elementor-widget-heading\" data-id=\"a5e0a46\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">To Enroll<\/h5>\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-94bf93b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"94bf93b\" 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-100 elementor-inner-column elementor-element elementor-element-932251d\" data-id=\"932251d\" 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-2f5d18a elementor-widget elementor-widget-button\" data-id=\"2f5d18a\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/iasiso-gulf.com\/OM\/wp-content\/uploads\/2025\/07\/IAS-Application-FormV1.8.doc\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Application<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-41dacf8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"41dacf8\" 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-100 elementor-inner-column elementor-element elementor-element-a151d74\" data-id=\"a151d74\" 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-95f5bd4 elementor-widget elementor-widget-button\" data-id=\"95f5bd4\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/iasiso-gulf.com\/OM\/wp-content\/uploads\/2024\/12\/IAS-cGMP-Brochure.pdf\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Brochure<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-3f5d70d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3f5d70d\" 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-100 elementor-inner-column elementor-element elementor-element-d257d72\" data-id=\"d257d72\" 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-9780bd8 elementor-widget elementor-widget-heading\" data-id=\"9780bd8\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h5 class=\"elementor-heading-title elementor-size-default\">Contact Us<\/h5>\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d369388 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d369388\" 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-100 elementor-inner-column elementor-element elementor-element-645d64f\" data-id=\"645d64f\" 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-c4d37b3 elementor-widget elementor-widget-shortcode\" data-id=\"c4d37b3\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\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.country-section .dropdown {\n\tposition: relative !important;\n}\n.country-section .dropdown-menu {\n\tdisplay: none !important;\n\theight: 300px;\n\toverflow-x: auto;\n\tposition: absolute !important;\n\ttop: 100% !important;\n\tleft: 0 !important;\n\tz-index: 1000 !important;\n\tmin-width: 100% !important;\n\tbackground-color: #fff !important;\n\tborder: 1px solid rgba(0,0,0,.15) !important;\n\tborder-radius: 0.25rem !important;\n\tpadding: 0.5rem 0 !important;\n\tmargin: 0 !important;\n\tlist-style: none !important;\n}\n.country-section .dropdown-menu.show {\n\tdisplay: block !important;\n}\n\n#myModalAlert .modal-dialog {\n\tz-index:10 !important;\n\tmargin-top: 70px;\n}\n#myModalAlert .modal-header {\n\tpadding: 10px !important;\n\tbackground: #dee1e6;\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\n\n.modal.show .modal-dialog{\n    margin-top: 160px;\n}\n\n#errorModalLabel{\n\tcolor: #fff !important;\n}\n.scheme-dropdown-toggle {\n    display: block !important;\n    border: 1px solid #ced4da !important;\n    border-radius: 4px !important;\n    padding: 10px 14px !important;\n    background: #fff !important;\n    cursor: pointer;\n    color: #333 !important;\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 !important;\n    max-height: 200px;\n    overflow-y: auto;\n    border: 1px solid #ced4da !important;\n    border-top: none !important;\n    border-radius: 0 0 4px 4px !important;\n    padding: 10px !important;\n    background: #fff !important;\n}\n.scheme-checkbox-list.show {\n    display: block !important;\n}\n.scheme-checkbox-list .form-check {\n    display: block !important;\n    position: relative !important;\n    margin: 0 0 10px 0 !important;\n    padding: 0 0 0 26px !important;\n    min-height: auto !important;\n    float: none !important;\n    width: auto !important;\n}\n.scheme-checkbox-list .form-check:last-child {\n    margin-bottom: 0 !important;\n}\n.scheme-checkbox-list .form-check-label {\n    display: block !important;\n    line-height: 1.5 !important;\n    cursor: pointer;\n    color: #000 !important;\n    width: auto !important;\n    margin: 0 !important;\n    padding: 0 !important;\n    word-wrap: break-word;\n    overflow-wrap: break-word;\n}\n.scheme-checkbox-list .form-check-input {\n    position: absolute !important;\n    left: 0 !important;\n    top: 4px !important;\n    width: 16px !important;\n    height: 16px !important;\n    margin: 0 !important;\n    float: none !important;\n    flex: none !important;\n    appearance: auto !important;\n    -webkit-appearance: auto !important;\n    opacity: 1 !important;\n}\n\n<\/style>\n    <div class=\"container mt-3\">\n         <div class=\"card\">\n\t\t <div class=\"card-body\">\n         <form id=\"contct_form\" >\n         \t<!-- hidden datas -->\n         \t<input type=\"hidden\" name=\"source\" value=\"2\">\n\t\t\t<input type=\"hidden\" name=\"enquiry_from\"     value=\"online_user\">\n            <input type=\"hidden\" name=\"From\" value=\"6\">\n            <input type=\"hidden\" name=\"Website\" class=\"website_id\" value=\"\">\n            <input type=\"hidden\" name=\"source_of_url\"  class=\"url_id\"  value=\"\">\n\t\t\t <input type=\"hidden\" name=\"Company\" class=\"company\" value=\"\">\n            \n            <div class=\"row\">\n                <div class=\"col-sm-12\"> \n                    <div class=\"mb-3 mt-3\">\n                        <label  >Company Name:<\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CompanyName\" placeholder=\"Enter company name\" name=\"CompanyName\">\n                    <\/div>\n                    <div class=\"mb-3\">\n                        <label  >Customer Name: <span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"text\" class=\"form-control\" id=\"CustomerName\" placeholder=\"Enter customer Name\" name=\"CustomerName\" required=\"required\">\n                        <span class=\"error error_company_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                   \n                    \n                    <input type=\"hidden\" name=\"telephone_number\" value=\"\">\n                    <div class=\"mb-3\">\n                        <label>E-Mail:<span class=\"mandatory\">*<\/span><\/label>\n                        <input type=\"email\" class=\"form-control\" id=\"EMail\" placeholder=\"Enter email\" name=\"EMail\" required=\"required\">\n                         <span class=\"error error_email\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                    <\/div>\n                    <div class=\"mb-3 country-section\">\n                    \t<label>Country: <span class=\"mandatory\">*<\/span><\/label>\n                       \t<div class=\"dropdown\">\n\t\t\t\t\t\t  \t<div class=\"btn btn-default\" type=\"button\" id=\"countryDropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n\t\t\t\t\t\t    \t <span class=\"default_countr\">--- Select Country ---<\/span>\n\t\t\t\t\t\t  \t<\/div>\n\t\t\t\t\t\t  <ul class=\"dropdown-menu\" aria-labelledby=\"countryDropdown\"><\/ul>\n\n\t\t\t\t\t\t  <input type=\"hidden\" id=\"country_id\" name=\"Country\" required>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t <span class=\"error error_country\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div> \n\t                <div class=\"mb-3 mt-3\">\n\t                    <label>State: <span class=\"mandatory\">*<\/span><\/label>\n\t                    <select class=\"form-select\" name=\"State\" id=\"State\" required=\"required\">\n\t                        <option value=\"\">--Please select state--<\/option>\n\t                    <\/select>\n\t                     <span class=\"error error_state\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t                <\/div>\n\t                <div class=\"mb-3\">\n\t                    <label>City:<\/label>\n\t                    <select class=\"form-select\" name=\"City\" id=\"City\">\n\t                        <option value=\"\">--Please select City --<\/option> \n\t                    <\/select>\n\t                    <span class=\"error error_city\"><\/span>\n\t                <\/div> \n \n\t                <div class=\"mb-3\">\n                        <label  > Mobile Number:<span class=\"mandatory\">*<\/span><\/label>\n                       \n                        <div>\n\t\t\t\t\t\t<span class=\"input-group-text\" id=\"CountryCode\" data-phone-length=\"\">+968<\/span>\n                        \t<input type=\"text\" class=\"form-control\" id=\"MobileNumber\" placeholder=\"Enter mobile number\" name=\"MobileNumber\" required=\"required\">\n                        \t<span class=\"error error_mobile_no\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n                        <\/div>\n                    <\/div>\n\t                <div class=\"mb-3\">\n\t                     <h6 class=\"label\">Enquiry Type<\/h6>\n\t                    <span><input type=\"radio\" class=\"form-check-input enquiry_type\"    name=\"optradio\" value=\"1\" checked> Enquiry<\/span>\n\t                    <span> <input type=\"radio\" class=\"form-check-input enquiry_type\"   name=\"optradio\" value=\"2\"> Other<\/span>\n\t                <\/div> \n\t                <div class=\"enquiry_form\">\n\t\t                <div class=\"mb-3\">\n\t\t                    <label>Training \/ Certification: <span class=\"mandatory\">*<\/span><\/label>\n\t\t                    <select class=\"form-select\"  id=\"purposOf\">\n\t\t                        <option value=\"\">--Please select  --<\/option> \n\t\t                        <option value=\"1\">Training (For Individuals or Group of Individuals)<\/option>\n\t\t                        <option value=\"2\">Certification (For Organizations)<\/option>\n\t\t                    <\/select>\n\t\t                    <span class=\"error error_trg_cert\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t\t\t\t\t<div class=\"mb-3 certification_prod_section\">\n\t\t\t\t\t\t\t<label>Certification: *<\/label>\n\t\t\t\t\t\t\t<select class=\"form-select\" name=\"cert_Type\" id=\"cert_Type\">\n\t\t\t\t\t\t\t\t<option value=\"\">--Please select Type --<\/option>\n\t\t\t\t\t\t\t\t<option value=\"1\">Process<\/option>\n\t\t\t\t\t\t\t\t<option value=\"2\">Product<\/option>\n\t\t\t\t\t\t\t\t<option value=\"3\">Both (Process\/Product)<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t                <span class=\"error error_cert_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t            <\/div>\n\t\t                <!-- Training -->\n\t\t                \n\t\t                <div class=\"training-section\">\n\t\t                \t<h6 class=\"label\">Training<\/h6>\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Type: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Type[]\" id=\"Type\">\n\t\t\t                        <option value=\"\">--Please select Type --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                    <span class=\"error error_product_type\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Category: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <select class=\"form-select\" name=\"Category[]\" id=\"Category\">\n\t\t\t                        <option value=\"\">--Please select Category --<\/option>\n\t\t\t                    <\/select>\n\t\t\t                     <span class=\"error error_product_category\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\n\t\t\t                <div class=\"mb-3\">\n\t\t\t                    <label>Product Name: <span class=\"mandatory\">*<\/span><\/label>\n\t\t\t                    <div class=\"scheme-dropdown-toggle\" data-target=\"ProductNameCheckboxes\" data-default=\"-- Select Product Name --\">-- Select Product Name --<\/div>\n\t\t\t                    <div class=\"scheme-checkbox-list\" id=\"ProductNameCheckboxes\">\n\t\t\t                        <span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>\n\t\t\t                    <\/div>\n\t\t\t                    <span class=\"error error_product_name\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t                <\/div>\n\t\t\t            <\/div>\n\t\t\t            <!-- Training End -->\n\t\t\t            <!-- Certification -->\n\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-14\">\n\t\t            <\/div>\n\t\t            <div class=\"other_enquiry_form\">\n\t\t            \t<h6 class=\"label\">Specified details <span class=\"mandatory\">*<\/span><\/h6>\n\t\t            \t<div class=\"mb-3\">\n\t\t                     <textarea class=\"form-control\" name=\"other_enquiry\" rows=\"3\" id=\"other_enquiry\" placeholder=\"Please describe your enquiry details...\"><\/textarea>\n\t\t                     <span class=\"error error_other_enquiry\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t                <\/div>\n\t\t            <\/div>\n\t\t\t\t\t<div class=\"consent-checkbox\">\n\t\t\t\t\t\t<label><input type=\"checkbox\" id=\"privacyCheck\" name=\"acceptance-836\" value=\"1\" aria-invalid=\"false\"><span class=\"wpcf7-list-item-label\"><span style=\"color:black\">I agree that IAS can use my data for the purposes of dealing with my request, in accordance with the <\/span><b><a href=\"https:\/\/iasiso-gulf.com\/OM\/online-privacy-statement\/\" style=\"color:#A70000\" target=\"_blank\">IAS Online Privacy Statement<\/a><\/b><\/span><span class=\"mandatory\">*<\/span><\/label>\n\t\t\t\t\t\t<span class=\"error error_privacy_checkbox\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t\t<\/div>\n\t\t\t<!--\t\t<div class=\"captcha\">\n\t\t\t\t\t  <div class=\"g-recaptcha\" data-sitekey=\"6LfbHTMjAAAAAJFRcyUHAm27f2i1MvKffn2tROTU\"><\/div>\n\t\t\t\t\t  <span class=\"error error_captcha\" style=\"color: red; font-size: 13px; margin-top: 5px;\"><\/span>\n\t\t\t\t\t<\/div>\t\t\t-->\n\t\t\t\t\t\n\t\t\t\t\t\t<div style=\"width:250px\">\n\t\t\t\t\t\t\t<label>Enter Captcha:<\/label>\n\n\t\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\t<img decoding=\"async\" src=\"https:\/\/iasiso-gulf.com\/OM\/?stm_captcha=1789359869\" alt=\"captcha\" id=\"captchaImage\" style=\"border: 1px \t\t\t\t\t\t\t\t\tsolid #ccc; padding: 5px; height: 70px; width: 220px; object-fit: contain;\">\n\t\t\t\t\t\t\t\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\t  <\/div>\n\t\t\t\t\t\t\t <input type=\"text\" class=\"form-control\" name=\"captcha_answer\" id=\"captcha_answer\" required\n\t\t\t   style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;\">\n\t\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\t<\/div> \n\t\t\t\t\t\t<div class=\"form-note mb-3\">\n\t\t\t\t\t\t<strong>Note:<\/strong>\n\t\t\t\t\t\tFor clarity on Process and Product certification schemes, please refer this website menu.\n\t\t\t\t\t<\/div>\n\t\t        <\/div>\n            <\/div>\n            <button type=\"submit\" class=\"btn btn-primary btn-submit\">Submit<\/button>\n        <\/form>\n\t\t<!-- The Modal -->\n\t\t<div class=\"modal\" id=\"myModalAlert\">\n\t\t  <div class=\"modal-dialog\">\n\t\t    <div class=\"modal-content\">\n\t\t      <!-- Modal Header -->\n\t\t      <div class=\"modal-header\">\n\t\t        <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\"><\/button>\n\t\t      <\/div>\n\t\t      <!-- Modal body -->\n\t\t      <div class=\"modal-body\">\n\t\t        Thank You\n\t\t      <\/div>\n\t\t    <\/div>\n\t\t  <\/div>\n\t\t<\/div>\n\t\t\n\t\t\t<div class=\"modal\" id=\"error_pop\">\n\t\t\t  <div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t  <div class=\"modal-header bg-danger text-white\">\n\t\t\t\t\t<h5 class=\"modal-title\" id=\"errorModalLabel\">Duplicate Email<\/h5>\n\t\t\t\t\t<button type=\"button\" class=\"btn-close btn-close-white\" data-bs-dismiss=\"modal\" aria-label=\"Close\"><\/button>\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-body\" id=\"error_pop_con\">\n\n\t\t\t\t  <\/div>\n\t\t\t\t  <div class=\"modal-footer\">\n\t\t\t\t\t<div class=\"d-flex justify-content-end gap-2\">\n\t\t\t\t\t  <button type=\"button\" class=\"btn btn-outline-secondary\" id=\"cancelProceed\">Cancel<\/button>\n\t\t\t\t\t  <button type=\"button\" id=\"proceed_trn_enq\" class=\"btn btn-primary\" data-enquiry-type=\"\">Proceed<\/button>\n\t\t\t\t\t<\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t<\/div>\n\t\t\t  <\/div>\n\t\t\t<\/div>\n\t\t\n\t\t<\/div>\n    <\/div><script type='text\/javascript'>\n\t\t\tvar base_url_api = 'https:\/\/erp.iasiso.com\/Api';\n\t\t    var base_url = 'https:\/\/erp.iasiso.com';\n\t\t    jQuery(document).ready(function($) {\n\t\t\t\/\/ --- put mobile code box + input on the SAME line ---\nfunction enforceMobileGroup(){\n    var grp = $('#CountryCode').parent();\n    if(!grp.length) return;\n    grp.css({'display':'flex','flex-wrap':'nowrap','align-items':'stretch','width':'100%','margin':'0','padding':'0'});\n    $('#CountryCode').css({'display':'flex','align-items':'center','flex':'0 0 auto','width':'auto','white-space':'nowrap','padding':'12px 9px','font-size':'1rem','line-height':'1.5','background':'#e9ecef','border':'1px solid #ced4da','border-right':'0','border-top-left-radius':'0.25rem','border-bottom-left-radius':'0.25rem','border-top-right-radius':'0','border-bottom-right-radius':'0','margin':'0','color':'#212529','box-sizing':'border-box'});\n    $('#MobileNumber').css({'display':'block','flex':'1 1 auto','width':'1%','min-width':'0','margin':'0','padding':'12px 9px','font-size':'1rem','line-height':'1.5','height':'auto','border-top-left-radius':'0','border-bottom-left-radius':'0','border-top-right-radius':'0.25rem','border-bottom-right-radius':'0.25rem','box-sizing':'border-box'});\n}\nenforceMobileGroup();\nsetTimeout(enforceMobileGroup, 600);\n\n\t\t    \t\/\/ Move modals to body so they are not trapped inside parent containers\n\t\t    \t$('#myModalAlert, #error_pop').appendTo('body');\n\n\t\t    \t\/\/ Force inline styles on scheme elements to bypass any theme CSS overrides\n\t\t    \tfunction enforceSchemeStyles(){\n\t\t    \t\ttry {\n\t\t    \t\t\tif($('.scheme-dropdown-toggle').length === 0) return;\n\t\t    \t\t\t$('.scheme-dropdown-toggle').css({\n\t\t    \t\t\t\t'display':'block','border':'1px solid #ced4da','border-radius':'4px',\n\t\t    \t\t\t\t'padding':'10px 14px','background':'#fff','cursor':'pointer',\n\t\t    \t\t\t\t'color':'#333','position':'relative','user-select':'none',\n\t\t    \t\t\t\t'margin':'0','width':'auto','box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list').each(function(){\n\t\t    \t\t\t\tvar el = $(this);\n\t\t    \t\t\t\tel.css({\n\t\t    \t\t\t\t\t'max-height':'200px','overflow-y':'auto',\n\t\t    \t\t\t\t\t'border':'1px solid #ced4da','border-top':'none',\n\t\t    \t\t\t\t\t'border-radius':'0 0 4px 4px','padding':'10px','background':'#fff',\n\t\t    \t\t\t\t\t'margin':'0','box-sizing':'border-box'\n\t\t    \t\t\t\t});\n\t\t    \t\t\t\tif(!el.hasClass('show')){ el.css('display','none'); }\n\t\t    \t\t\t\telse { el.css('display','block'); }\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check').css({\n\t\t    \t\t\t\t'display':'block','position':'relative','margin':'0 0 10px 0',\n\t\t    \t\t\t\t'padding':'0 0 0 26px','min-height':'auto','float':'none','width':'auto'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check:last-child').css('margin-bottom','0');\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check-label').css({\n\t\t    \t\t\t\t'display':'block','line-height':'1.5','cursor':'pointer',\n\t\t    \t\t\t\t'color':'#000','width':'auto','margin':'0','padding':'0',\n\t\t    \t\t\t\t'word-wrap':'break-word','overflow-wrap':'break-word'\n\t\t    \t\t\t});\n\t\t    \t\t\t$('.scheme-checkbox-list .form-check-input').css({\n\t\t    \t\t\t\t'position':'absolute','left':'0','top':'4px',\n\t\t    \t\t\t\t'width':'16px','height':'16px','margin':'0',\n\t\t    \t\t\t\t'float':'none','flex':'none','appearance':'auto',\n\t\t    \t\t\t\t'-webkit-appearance':'auto','opacity':'1'\n\t\t    \t\t\t});\n\t\t    \t\t} catch(e){ if(window.console) console.warn('enforceSchemeStyles error:', e); }\n\t\t    \t}\n\t\t    \tenforceSchemeStyles();\n\n\t\t    \t\/\/ Force country dropdown styles via inline CSS (beats any theme\/widget sanitizer)\n\t\t    \tfunction enforceCountryDropdown(){\n\t\t    \t\ttry {\n\t\t    \t\t\tvar sect = $('.country-section');\n\t\t    \t\t\tif(sect.length === 0) return;\n\t\t    \t\t\tsect.find('.dropdown').css({\n\t\t    \t\t\t\t'position':'relative','display':'block','width':'100%'\n\t\t    \t\t\t});\n\t\t    \t\t\tsect.find('#countryDropdown').css({\n\t\t    \t\t\t\t'border':'1px solid #ced4da','background':'#fff','padding':'10px 14px',\n\t\t    \t\t\t\t'border-radius':'4px','cursor':'pointer','width':'100%',\n\t\t    \t\t\t\t'text-align':'left','display':'block','color':'#333',\n\t\t    \t\t\t\t'box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\tvar menu = sect.find('.dropdown-menu');\n\t\t    \t\t\tmenu.css({\n\t\t    \t\t\t\t'position':'absolute','top':'100%','left':'0','z-index':'1000',\n\t\t    \t\t\t\t'min-width':'100%','height':'300px','overflow-y':'auto','overflow-x':'hidden',\n\t\t    \t\t\t\t'background-color':'#fff','border':'1px solid rgba(0,0,0,.15)',\n\t\t    \t\t\t\t'border-radius':'0.25rem','padding':'0.5rem 0','margin':'0',\n\t\t    \t\t\t\t'list-style':'none','box-sizing':'border-box'\n\t\t    \t\t\t});\n\t\t    \t\t\tif(!menu.hasClass('show')){ menu.css('display','none'); }\n\t\t    \t\t\telse { menu.css('display','block'); }\n\t\t    \t\t\tmenu.find('li').css({'list-style':'none','padding':'0','margin':'0'});\n\t\t    \t\t\tmenu.find('a.dropdown-item').css({\n\t\t    \t\t\t\t'display':'block','padding':'6px 12px','color':'#212529',\n\t\t    \t\t\t\t'text-decoration':'none','cursor':'pointer','white-space':'nowrap'\n\t\t    \t\t\t});\n\t\t    \t\t\tmenu.find('.dropdown-input').css({\n\t\t    \t\t\t\t'margin':'0 8px 8px','width':'calc(100% - 16px)'\n\t\t    \t\t\t});\n\t\t    \t\t} catch(e){ if(window.console) console.warn('enforceCountryDropdown error:', e); }\n\t\t    \t}\n\t\t    \tenforceCountryDropdown();\n\n\t\t    \t\/\/ Manual toggle for country dropdown (doesn't rely on Bootstrap dropdown JS)\n\t\t    \t$(document).on('click', '#countryDropdown', function(e){\n\t\t    \t\te.stopPropagation();\n\t\t    \t\tvar menu = $('.country-section .dropdown-menu');\n\t\t    \t\tif(menu.hasClass('show')){\n\t\t    \t\t\tmenu.removeClass('show').css('display','none');\n\t\t    \t\t\t$(this).attr('aria-expanded','false');\n\t\t    \t\t} else {\n\t\t    \t\t\tmenu.addClass('show').css('display','block');\n\t\t    \t\t\t$(this).attr('aria-expanded','true');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('click', function(e){\n\t\t    \t\tif(!$(e.target).closest('.country-section').length){\n\t\t    \t\t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\n\t\t    \t\t\t$('#countryDropdown').attr('aria-expanded','false');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('click', '.country-section .dropdown-menu li a.dropdown-item', function(){\n\t\t    \t\t$('.country-section .dropdown-menu').removeClass('show').css('display','none');\n\t\t    \t\t$('#countryDropdown').attr('aria-expanded','false');\n\t\t    \t});\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').css('display','none');\n\t\t    \t\t$('.scheme-dropdown-toggle').not(this).removeClass('open');\n\t\t    \t\tvar isOpen = list.hasClass('show');\n\t\t    \t\tif(isOpen){\n\t\t    \t\t\tlist.removeClass('show').css('display','none');\n\t\t    \t\t\t$(this).removeClass('open');\n\t\t    \t\t} else {\n\t\t    \t\t\tlist.addClass('show').css('display','block');\n\t\t    \t\t\t$(this).addClass('open');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('click', function(e){\n\t\t    \t\tif(!$(e.target).closest('.scheme-checkbox-list, .scheme-dropdown-toggle').length){\n\t\t    \t\t\t$('.scheme-checkbox-list').removeClass('show').css('display','none');\n\t\t    \t\t\t$('.scheme-dropdown-toggle').removeClass('open');\n\t\t    \t\t}\n\t\t    \t});\n\t\t    \t$(document).on('change', '.scheme-checkbox-list input[type=checkbox]', function(){\n\t\t    \t\tvar container = $(this).closest('.scheme-checkbox-list');\n\t\t    \t\tvar toggle = container.prev('.scheme-dropdown-toggle');\n\t\t    \t\tvar checked = container.find('input:checked');\n\t\t    \t\tif(checked.length > 0){\n\t\t    \t\t\ttoggle.text(checked.length + ' selected');\n\t\t    \t\t} else {\n\t\t    \t\t\tvar defaultText = toggle.data('default') || '-- Select --';\n\t\t    \t\t\ttoggle.text(defaultText);\n\t\t    \t\t}\n\t\t    \t});\n\n\t\t    \t\/\/ Customer Name: allow only letters and spaces\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\t$('#captchaImage').attr('src', 'https:\/\/iasiso-gulf.com\/OM\/?stm_captcha=1789359869&t=' + new Date().getTime());\n\t\t\t\t\t});\n\n\t\t    \t\/\/country\n\t\t\t\t$(document).on('click','li a.dropdown-item', function() {\n\t\t\t    \tvar code = $(this).data('code');\n\t\t\t    \tvar countryName = $(this).text().trim();\t\n\t\t\t    \tvar country_id = $(this).attr('country_id');\n\t\t\t    \tvar country_code = $(this).attr('country_code');\t\n\t\t\t\t\tvar mobile_number_length = $(this).attr('data-mobile_number_length');\n\n\t\t\t    \t$('#countryDropdown').html('<span class=\"fi fi-' + code.toLowerCase() + '\"><\/span> ' + countryName);\n\t\t\t    \t$('#country_id').val(country_id);\n\n\t\t\t    \tif(country_code){\n\/\/ \t\t\t\t\t\t\t$('#MobileNumber').val(country_code);\n\n\t\t\t\t\t\t\tconsole.log($('#CountryCode').attr('data-phone-length'));\n\t\t\t\t\t\t\t$('#CountryCode').text(country_code).attr('data-phone-length', mobile_number_length).data('phone-length', mobile_number_length);\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\/\/ reset input and error message\n\t\t\t\t\t\t\t$('#MobileNumber').val('');\n\t\t\t\t\t\t\t$('.error_mobile_no').text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t             var url = base_url_api+'\/getRegion';\n\t\t            $.post(url,{country:country_id},function(states, status){\n\t\t                if(states){\t\t                    \n\t\t                    $('#State').html(states);\n\t\t                }\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t            fetchBcoCert();\n\t\t\t\t});\n\n\t\t\t\t\/\/country search\n\n\t\t\t\t$(document).on('keyup','.dropdown-input', function() {\n\n\t\t\t\t  \tvar filterValue = $(this).val().toLowerCase();\n\t\t\t\t  \t$('li.country_list').each(function() {\n\t\t\t\t      var text = $(this).text().toLowerCase(); \/\/ Get the text of each li and convert to lowercase\n\t\t\t\t      if (text.indexOf(filterValue) === -1) {\n\t\t\t\t        $(this).hide(); \/\/ Hide the li if it does not contain the filter value\n\t\t\t\t      } else {\n\t\t\t\t        $(this).show(); \/\/ Show the li if it contains the filter value\n\t\t\t\t      }\n\t\t\t\t    });\n\t\t\t\t})\n\n\t\t    \t\/\/Fetch website info\n\n\t\t    \tvar website_url =  window.location.href;\n\n\t\t    \t\/\/var website_url = 'https:\/\/iasiso-middleeast.com\/iso-9001-lead-auditor-training-in-israel\/';\n\n\t\t    \tif(website_url){\n\t\t    \t\t $.post(base_url_api +'\/get_website_details',{url:website_url}, function(datas, status){\n   \t\t\t\t\t\t\tif(datas){\n   \t\t\t\t\t\t\t\t$('.website_id').val(datas.website_id);\n   \t\t\t\t\t\t\t\t$('.url_id').val(datas.url_id);\n\t\t\t\t\t\t\t\t$('.Company').val(datas.company);\n   \t\t\t\t\t\t\t}\n\t\t        \t});\n\t\t    \t}\n\t\t    \t\n\n\t\t        \/\/Fetch country\n\t\t        var url = base_url_api+'\/getCountrys';\n\t\t        var country_option = `<li>\n\t\t\t      <input class=\"form-control dropdown-input\" type=\"text\" placeholder=\"Search\">\n\t\t\t    <\/li>\n\t\t\t    <li>\n\t\t\t      <hr class=\"dropdown-divider\">\n\t\t\t    <\/li>`;\n\t\t        $.get(url, function(datas, status){\n\n\t\t            if(datas){\n\t\t                $(datas).each(function(inex, data) {\n\n\t\t                   country_option +=`<li class=\"country_list\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"dropdown-item\"  country_id=\"`+data.country_id+`\" country_code=\"+`+data.isd_code+`\" data-code=\"`+data.code+`\" data-mobile_number_length=\"`+data.mobile_number_length+`\">\n\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"fi fi-`+data.code.toLowerCase()+`\"><\/span> `+data.country_name+`\n\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t <\/li>`;\n\n\t\t                    \/\/ Auto select Oman (country_id = 167)\n\t\t                    var default_country_id = 167;\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\n\t\t                        fetchBcoTraining();\n\t\t                        fetchBcoCert();\n\t\t                    }\n\t\t                });\n\n\n\t\t                $('.country-section .dropdown-menu').html(country_option);\n\t\t                enforceCountryDropdown();\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\t\tlet allowedLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\t\t\t\t\t\tvar inputValue = $(this).val();\n\t\t\t\t\t\tvar errorSpan = $('.error_mobile_no');\n\n\t\t\t\t\t\t\/\/ Strip non-numeric characters\n\t\t\t\t\t\tinputValue = inputValue.replace(\/[^0-9]\/g, '');\n\n\t\t\t\t\t\t\/\/ Prevent exceeding max length\n\t\t\t\t\t\tif (allowedLength && inputValue.length > allowedLength){\n\t\t\t\t\t\t\tinputValue = inputValue.slice(0, allowedLength);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t$(this).val(inputValue);\n\n\t\t\t\t\t\t\/\/ Show error\/info based on length\n\t\t\t\t\t\tif(allowedLength){\n\t\t\t\t\t\t\tif(inputValue.length === 0){\n\t\t\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t\t\t} else if(inputValue.length < allowedLength){\n\t\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\t} else {\n\t\t\t\t\t\t\t\terrorSpan.css('color','').text('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrorSpan.text('');\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\n\n\t\t        \/\/Fetch Type and category\n\t\t        var url = base_url_api+'\/getTrainings';\n\t\t        \n\t\t        $.get(url, function(datas, status){\n\t\t            if(datas){\n\t\t                var type_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.type).each(function(inex, data) {\n\t\t                   type_option +='<option value=\"'+data.tc_id+'\">'+data.tra_cat_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Type').html(type_option);\n\n\t\t                var category_option = '<option value=\"\">---Please select---<\/option>';\n\t\t                $(datas.category).each(function(inex, data) {\n\t\t                   category_option +='<option value=\"'+data.tt_id+'\">'+data.tra_type_name+'<\/option>';\n\t\t                });\n\n\t\t                $('#Category').html(category_option);\n\t\t            }\n\t\t        });\n \n\t\t       \n\t\t        \/\/ When Product Type changes \u2192 filter Product Category options\n\t\t        $('#Type').change(function(){\n\t\t            var Type = $(this).val();\n\t\t            var catSelect = $('#Category');\n\n\t\t            catSelect.val('');\n\t\t            $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t            if(!Type){\n\t\t                catSelect.find('option').show();\n\t\t                fetchBcoTraining();\n\t\t                return;\n\t\t            }\n\n\t\t            catSelect.find('option').each(function(){\n\t\t                var opt = $(this);\n\t\t                var catVal = opt.val();\n\t\t                if(!catVal){ opt.show(); return; }\n\n\t\t                (function(opt, catVal){\n\t\t                    $.ajax({\n\t\t                        type: 'post',\n\t\t                        url: base_url_api+'\/getSchemes',\n\t\t                        data: { category: catVal, Type: Type },\n\t\t                        success: function(resp){\n\t\t                            var count = 0;\n\t\t                            if(resp && $.trim(resp) !== ''){\n\t\t                                $(resp).filter('option').each(function(){\n\t\t                                    if($.trim($(this).val()) !== '') count++;\n\t\t                                });\n\t\t                            }\n\t\t                            if(count > 0){\n\t\t                                opt.show();\n\t\t                            } else {\n\t\t                                opt.hide();\n\t\t                                if(catSelect.val() === catVal) catSelect.val('');\n\t\t                            }\n\t\t                        },\n\t\t                        error: function(){ opt.show(); }\n\t\t                    });\n\t\t                })(opt, catVal);\n\t\t            });\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ When 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\t\t            if(Category && Type){\n\t\t                $.ajax({\n\t\t                    type: 'post',\n\t\t                    url: base_url_api+'\/getSchemes',\n\t\t                    data: { category: Category, Type: Type },\n\t\t                    success: function(html){\n\t\t                        var checkboxHtml = '';\n\t\t                        $(html).filter('option').each(function(){\n\t\t                            var val = $(this).val();\n\t\t                            var text = $(this).text();\n\t\t                            if(val && $.trim(val) !== ''){\n\t\t                                checkboxHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-name-chk\" name=\"ProductName[]\" value=\"'+val+'\"> '+text+'<\/label><\/div>';\n\t\t                            }\n\t\t                        });\n\t\t                        if(checkboxHtml === ''){\n\t\t                            checkboxHtml = '<span style=\"color:#999;\">No products available<\/span>';\n\t\t                        }\n\t\t                        $('#ProductNameCheckboxes').html(checkboxHtml);\n\t\t                        enforceSchemeStyles();\n\t\t                    }\n\t\t                });\n\t\t            } else {\n\t\t                $('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\t\t            }\n\t\t            fetchBcoTraining();\n\t\t        });\n\n\t\t        \/\/ Product name checkbox change\n\t\t        $(document).on('change', '.product-name-chk', function(){\n\t\t        \tfetchBcoTraining();\n\t\t        });\n\t\t\t\t\n\t\t\t\t$('#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 \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/1';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input process-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\n\t\t                });\n\t\t                $('#processSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t                enforceSchemeStyles();\n\t\t            }\n\t\t        });\n\n\t\t        \/\/Fetch product scheme \u2192 checkboxes\n\t\t        var url = base_url_api+'\/getScheme\/2';\n\n\t\t        $.get(url, function(data, status){\n\t\t            if(data){\n\t\t                var chkHtml = '';\n\t\t                $(data).filter('option').each(function(){\n\t\t                    var v = $(this).val(); var t = $(this).text();\n\t\t                    if(v && $.trim(v) !== '') chkHtml += '<div class=\"form-check\"><label class=\"form-check-label\" style=\"color:black;\"><input type=\"checkbox\" class=\"form-check-input product-scheme-chk\" name=\"scheme[]\" value=\"'+v+'\"> '+t+'<\/label><\/div>';\n\t\t                });\n\t\t                $('#productSchemeCheckboxes').html(chkHtml || '<span style=\"color:#999;\">No schemes available<\/span>');\n\t\t                enforceSchemeStyles();\n\t\t            }\n\t\t        });\n\t\t\t\t\n\t\t\t\tfunction getCookie(name) {\n\t\t\t\t\t\t\t\t const cookies = document.cookie.split(';');\n\t\t\t\t\t\t\t\t\tconst captcha_word = (cookies.find(c => c.trim().startsWith('captcha_word=')) || '').split('=')[1] || null;\n\t\t\t\t\t\t\t\t\treturn captcha_word;\n\t\t\t\t\t\t\t}\n\t\t\t\t\n\t\t        $('.btn-submit').click(function(e) { \n\t\t        \te.preventDefault();\n\t\t        \t\/\/validation start\n\t\t\t        \tvar CustomerName  = $('#CustomerName').val();\n\n\t\t\t        \tvar error = 0;\n\t\t\t\t\t\tvar mail_dup_error = 0;\n\t\t\t        \tif(!CustomerName){\n\t\t\t        \t\t$('.error_company_name').text('Enter the customer name');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(!\/^[a-zA-Z ]+$\/.test(CustomerName)){\n\t\t\t        \t\t$('.error_company_name').text('Only letters and spaces are allowed');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_company_name').text('');\n\t\t\t        \t}\n\n\t\t\t        \tvar EMail  = $('#EMail').val();\n\n\t\t\t        \t\/\/ 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','ao','zw','zm','mw','mz','bw','na','sz','ls','re','mu','mg','sc','bj','bf','ml','ne','sn','ci','tg','gm','gn','gw','cv','sl','lr','cm','cf','td','cg','cd','ga','gq','st','km','dj','so','er','et','rw','bi','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\t\t\t        \tvar requiredLength = $('#CountryCode').data('phone-length') ? parseInt($('#CountryCode').data('phone-length')) : null;\n\n\t\t\t        \tif(!MobileNumber){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Enter the mobile number');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else if(requiredLength && MobileNumber.length < requiredLength){\n\t\t\t        \t\t$('.error_mobile_no').css('color','red').text('Mobile number must be ' + requiredLength + ' digits. You entered ' + MobileNumber.length + ' digits.');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_mobile_no').text('');\n\t\t\t        \t} \n\n\t\t\t        \tvar purposOf  = $('#purposOf').val(); \n\n\t\t\t        \tvar enquiry_type  = $('input.enquiry_type:checked').val()\n                        if(!purposOf && enquiry_type == 1){\n\t\t\t        \t\t$('.error_trg_cert').text('Please choose the training\/certification');\n\t\t\t        \t\terror = 1;\n\t\t\t        \t}else {\n\t\t\t        \t\t$('.error_trg_cert').text('');\n\t\t\t        \t}   \n\n\t\t\t        \tif((purposOf == 1) || (purposOf == 3)){ \n\t\t\t        \t\t\/\/Training validation  \n\t\t\t\t        \tvar Type  = $('#Type').val(); \n\n\t\t\t\t        \tif(!Type){\n\t\t\t\t        \t\t$('.error_product_type').text('Please choose type');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_type').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar Category  = $('#Category').val(); \n\n\t\t\t\t        \tif(!Category){\n\t\t\t\t        \t\t$('.error_product_category').text('Please choose category');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_category').text('');\n\t\t\t\t        \t} \n\n\t\t\t\t        \tvar ProductName  = $('.product-name-chk:checked').length;\n\n\t\t\t\t        \tif(ProductName === 0){\n\t\t\t\t        \t\t$('.error_product_name').text('Please choose at least one product');\n\t\t\t\t        \t\terror = 1;\n\t\t\t\t        \t}else {\n\t\t\t\t        \t\t$('.error_product_name').text('');\n\t\t\t\t        \t}\n\t\t\t\t        }\n\n\t\t\t\t        if((purposOf == 2) || (purposOf == 3)){\n\t\t\t        \t\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\/\/ Privacy policy checkbox validation\n\t\t\t\t\t\tvar isPrivacyChecked = $('#privacyCheck').is(':checked');\n\t\t\t\t\t\tif(!isPrivacyChecked){\n\t\t\t\t\t\t\t$('.error_privacy_checkbox').text('Please accept the privacy policy');\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_privacy_checkbox').text('');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar captcha_cookie = getCookie('captcha_word');\n \t\t\t\t\t\t\tvar capcha_answer = $('#captcha_answer').val();\n\t\t\t\t\t\t\tif(capcha_answer && captcha_cookie !== capcha_answer){\n\t\t\t\t\t\t\t\t$('.error_captcha').text('Captcha is not valid');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\tif(!capcha_answer){\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('Enter the captcha');\n\t\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\t\t\t\t\t\t\t\t\/\/ \terror = 0;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\n\/\/ \t\t\t\t        var recaptcha_response = $('#g-recaptcha-response').val();  \n\/\/ \t\t\t\t        if(!recaptcha_response){  \n\/\/ \t\t\t\t        \t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\terror = 1;\n\/\/ \t\t\t\t        }else {\n\/\/ \t\t\t\t        \tvar recaptcha_response = $('#g-recaptcha-response').val(); \n\/\/ \t\t\t\t   \t\t\tvar url = base_url+'\/Api\/checkCaptcha';\n\/\/ \t\t\t\t   \t\t\t $.ajax({\n\/\/ \t\t\t\t\t\t\t\t 'async': false,\n\/\/ \t\t\t\t\t\t\t\t type:'POST',\n\/\/ \t\t\t\t\t\t\t\t url:url,\n\/\/ \t\t\t\t\t\t\t\t data:{g_recaptcha_response:recaptcha_response},\n\/\/ \t\t\t\t\t\t\t\t success:function(data){\n\/\/ \t\t\t\t\t\t\t\t\tif(!data){\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('captcha error');\n\/\/ \t\t\t\t        \t\t\t\terror = 1;\n\/\/ \t\t\t\t\t\t\t\t\t}else {\n\/\/ \t\t\t\t\t\t\t\t\t\t$('.error_captcha').text('');\n\/\/ \t\t\t\t\t\t\t\t\t}\n\/\/ \t\t\t\t\t\t\t\t }\n\/\/ \t\t\t\t\t\t\t});\n\/\/ \t\t\t\t        }        \n\t\t\t        \/\/validation end\n\/\/ \t\t        \tif(!error){\n\/\/ \t\t        \t\t$('.btn-submit').addClass('disabled');\n\/\/ \t\t\t           \tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\/\/ \t\t\t\t\t   \t\/\/captcha status success\n\/\/ \t\t\t\t\t\tif(enquiry_type == 1){\n\/\/ \t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\/\/ \t\t\t\t\t\t\tif(purposOf == 1){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t   \t} else if(purposOf == 2){\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}else if(purposOf == 3){\n\/\/ \t\t\t\t\t\t\t\ttrainingEnquiry();\n\/\/ \t\t\t\t\t\t\t\tcertificationEnquiry();\n\/\/ \t\t\t\t\t\t   \t}\n\/\/ \t\t\t\t\t   \t}else {\n\/\/ \t\t\t\t\t\t\totherEnquiry();\n\/\/ \t\t\t\t\t   \t}\t\t\t\t\t   \n\/\/ \t\t\t\t\t}\n\n\t\t\t\t\t\tvar EMail = $('#EMail').val();\n\t\t\t\t\t \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\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\n\t\t\t\t\t\t\/\/ Other enquiry type: validate details box BEFORE auto-scroll so error is caught\n\t\t\t\t\t\tvar enquiry_type_val = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\tvar otherDetails = $.trim($('#other_enquiry').val());\n\t\t\t\t\t\t\tif(!otherDetails){\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('Please enter your enquiry details');\n\t\t\t\t\t\t\t\terror = 1;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('.error_other_enquiry').text('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\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\n\t\t\t\t\t\t\/\/ Other enquiry type: submit directly (validation already passed above)\n\t\t\t\t\t\tif(enquiry_type_val == 2){\n\t\t\t\t\t\t\t$('.btn-submit').prop('disabled', true).text('Submitting...');\n\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(EMail && $('#purposOf').val() != '' && !error){\n\t\t\t\t\t\t \/\/skip recheck of duplicate email after click proceed\n                            if($('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n                                submitFinalForm();\n                                return;\n                            }\n\t\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\t\t\turl:email_url,\n\t\t\t\t\t\t\t\tdata:postdata,\n\t\t\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif ((purposOf == 2 || purposOf == 3) && (prod_scheme.length === 0 && proc_scheme.length === 0)) {\n\t\t\t\t\t\t\t\t\t\/\/ If no scheme is selected, prevent modal from opening\n\t\t\t\t\t\t\t\t\t$('.error_process_scheme').text('Please choose any one process or product scheme.');\n\t\t\t\t\t\t\t\t\treturn; \/\/ Stop submission and modal opening\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tif(data == 1 || $('#proceed_trn_enq').attr('data-enquiry-type') == 'same'){\n\t\t\t\t\t\t\t\t\tmail_dup_error = 0;\n\t\t\t\t\t\t\t\t\tif(!error && !mail_dup_error){\n\t\t\t\t\t\t\t\t\/\/ \t\t$('.btn-submit').addClass('disabled');\n\t\t\t\t\t\t\t\t        \/\/Prevent multiple submission\n                                        $('.btn-submit')\n                                        .prop('disabled', true)\n                                        .text('Submitting...');\n\t\t\t\t\t\t\t\t\t\tvar enquiry_type  = $('input.enquiry_type:checked').val();\n\t\t\t\t\t\t\t\t\t\t\/\/captcha status success\n\t\t\t\t\t\t\t\t\t\tif(enquiry_type == 1){\n\t\t\t\t\t\t\t\t\t\t\t var purposOf  = $('#purposOf').val();\n\t\t\t\t\t\t\t\t\t\t\tif(purposOf == 1){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t} else if(purposOf == 2){\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}else if(purposOf == 3){\n\t\t\t\t\t\t\t\t\t\t\t\ttrainingEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t\tcertificationEnquiry();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\t\t\totherEnquiry();\n\t\t\t\t\t\t\t\t\t\t}\t\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\t\t$('#error_pop_con').children().remove().end().append(data);\n\t\t\t\t\t\t\t\t\t\t$('#error_pop').modal('toggle');\n\t\t\t\t\t\t\t\t\t\tvar prcd_btn = $('#same_enquiry_id').attr('data-scheme') == 0 ? 'disabled' : '';\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').removeClass('disabled');\n\t\t\t\t\t\t\t\t\t\t$('#proceed_trn_enq').addClass(prcd_btn);\n\t\t\t\t\t\t\t\t\t\tmail_dup_error = 1;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}); \n\t\t\t\t\t\t}\n\t\t\t\t\n\t\t        })\n\t\t\t\t$('.btn-close').click(function(e) { \n\t\t\t\t\tlocation.reload();\n\t\t\t\t})\n\n\t\t        function trainingEnquiry() {\n\t\t\t\t\t\n\t\t\t\t\tvar form_data = $('#contct_form').serialize();\n\t\t\t\t\tvar url = base_url+'\/SEO\/addEnquiry';\n\t\t\t\t\tvar bco_assign = $('.bco_assign_training').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t\t\t\t\tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t\t\t\tvar post_data = \"&bco_assign=\"+bco_assign+\"&company=\"+company+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId\n\t\t\t\t\t$.ajax({\n\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\turl:url,\n\t\t\t\t\t\tdata:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t\t\t\t\t\tsuccess:function(data){\n\t\t\t\t\t\t\tif(data.status == 1){\n\t\t\t\t\t\t\t\t\/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t}\n\t\t\t\t\t}); \n\t\t\t\t\t\n\t\t        }\n\n\t\t        function certificationEnquiry() {\n\t\t        \tvar form_data = $('#contct_form').serialize();\n\t\t        \tvar profile_name = $('#CompanyName').val();\n\t\t        \tvar contact_name = $('#CustomerName').val();\n\t\t        \tvar mobile_number = $('#MobileNumber').val();\n\t\t        \tvar profile_email = $('#EMail').val();\n\t\t        \tvar md_state      = $('#State').val();\n\t\t        \tvar md_city      = $('#City').val();\n\t\t        \tvar company = $('.Company').val(); \/\/IAS singapore\n\t\t        \tvar Type = 6;\n\t\t        \tvar remarks = 'Online enquiry';\n\t\t        \tvar bco_assign = $('.bco_assign_cert').val();\n\t\t\t\t\tvar enquirySame = $('#proceed_trn_enq').attr('data-enquiry-type');\n\t\t\t\t\tvar sameEnquiryId = $('#proceed_trn_enq').attr('data-enquiry-id');\n\t                var url = base_url+'\/SEO\/adddataAction_self';\n\n\t                var post_data = \"&profile_name=\"+profile_name+\"&contact_name=\"+contact_name+\"&mobile_number=\"+mobile_number+\"&profile_email=\"+profile_email+\"&md_state=\"+md_state+\"&md_city=\"+md_city+\"&company=\"+company+\"&Type=\"+Type+\"&remarks=\"+remarks+\"&bco_assign=\"+bco_assign+\"&enquirySame=\"+enquirySame+\"&sameEnquiryId=\"+sameEnquiryId;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:form_data + post_data + \"&username=\"+chat_username+\"&password=\"+encodeURIComponent(chat_password),\n\t                    success:function(data){\n\t                     \/\/ alert(data);\n\t                        if(data.status == 1){\n\t                            \/\/alert(data.message);\n\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text(data.message);\n\t\t\t\t\t  \t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t$('.btn-submit').removeClass('disabled');\n\t                        }  \n\t                    }\n\t                });   \n\t        \t}\n\n\t        \t function otherEnquiry() {\n\t\t        \t var form_data = $('#contct_form').serialize();\n\t\t                var url = base_url+'\/Api\/sent_mail_other_enquiry';\n\t\t               \n\t\t                var post_data = \"&website_url=\"+website_url\n\t\t                 $.ajax({\n\t\t                    type:'POST',\n\t\t                    url:url,\n\t\t                    data:form_data + post_data,\n\t\t                    success:function(data){\n\t\t                        if(data == 1){\n\t\t                            \/\/alert('Thank you for contact us');\n\t\t\t\t\t\t\t\t\t\/\/location.reload();\n\t\t\t\t\t\t\t\t\t$('#myModalAlert .modal-body').text('Thank you for contact us');\n\t\t\t\t\t  \t\t\t\t$('#myModalAlert').modal('show');\n\t\t\t\t\t  \t\t\t\t$('.btn-submit').removeClass('disabled');\n\t\t                        }\n\t\t                    }\n\t\t                });   \n\t\t        }\n\n\t\t        \/\/purpose change\n\t\t        $('#purposOf').change(function() {\n\t\t        \tvar purpose = $(this).val();\n\n\t\t        \t\/\/ Reset ALL child fields (training + certification) when parent changes\n\t\t        \t$('#Type').val('');\n\t\t        \t$('#Category').val('');\n\t\t        \t$('.product-name-chk').prop('checked', false);\n\t\t        \t$('#ProductNameCheckboxes').html('<span style=\"color:#999;\">-- Please select Product Type &amp; Category first --<\/span>');\n\n\t\t        \t$('#cert_Type').val('');\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \t$('.product_section, .process_section').hide();\n\n\t\t        \t$('.scheme-dropdown-toggle').each(function(){\n\t\t        \t\tvar defaultText = $(this).data('default') || '-- Select --';\n\t\t        \t\t$(this).text(defaultText).removeClass('open');\n\t\t        \t});\n\t\t        \t$('.scheme-checkbox-list').removeClass('show');\n\n\t\t        \t$('.error_product_type, .error_product_category, .error_product_name, .error_cert_product_type, .error_process_scheme').text('');\n\n\t\t        \tif(purpose == 1){\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_training_email_check';\n\t\t        \t}else if(purpose == 2) {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').show();\n\t\t\t\t\t\tvar email_url = base_url_api+'\/api_cert_email_check';\n\t\t        \t}else if(purpose == 3) {\n\t\t        \t\t$('.training-section').show();\n\t\t        \t\t$('.certification-section').show();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}else {\n\t\t        \t\t$('.training-section').hide();\n\t\t        \t\t$('.certification-section').hide();\n\t\t\t\t\t\t$('.certification_prod_section').hide();\n\t\t        \t}\n\t\t       })\n\t\t      \/\/ Helper: reset a scheme toggle label to its default text\n\t\t      function resetSchemeToggleLabel(targetId){\n\t\t          var toggle = $('.scheme-dropdown-toggle[data-target=\"'+targetId+'\"]');\n\t\t          var defaultText = toggle.data('default') || '-- Select --';\n\t\t          toggle.text(defaultText);\n\t\t          toggle.removeClass('open');\n\t\t          $('#'+targetId).removeClass('show').css('display','none');\n\t\t      }\n\n\t\t      \/\/ When Type changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Type', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\t\t      \/\/ When Category changes \u2192 also reset ProductName toggle label\n\t\t      $(document).on('change','#Category', function(){\n\t\t          resetSchemeToggleLabel('ProductNameCheckboxes');\n\t\t      });\n\n\t\t   $('#cert_Type').change(function() {\n\t\t        \tvar cert_Type = $(this).val();\n\n\t\t        \t\/\/ Uncheck all cert scheme checkboxes when cert_Type changes\n\t\t        \t$('.product-scheme-chk, .process-scheme-chk').prop('checked', false);\n\t\t        \tresetSchemeToggleLabel('productSchemeCheckboxes');\n\t\t        \tresetSchemeToggleLabel('processSchemeCheckboxes');\n\t\t        \t$('.error_process_scheme').text('');\n\t\t        \t$('.error_product_name').text('');\n\n\t\t        \tif(cert_Type == 1){\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.product_section').hide();\n\t\t        \t}else if(cert_Type == 2) {\n\t\t        \t\t$('.product_section').show();\n\t\t\t\t\t\t$('.process_section').hide();\n\t\t        \t}else if(cert_Type == 3) {\n\t\t        \t\t$('.product_section').show();\n\t\t        \t\t$('.process_section').show();\n\t\t\t\t\t\t$('.error_process_scheme').text('');\n\t\t\t\t\t\t$('.error_product_name').text('');\n\t\t        \t}\n\n\t\t       })\n\n\t\t       \/\/Enquiry type\n\t\t       $('.enquiry_type').change(function() {\n\t\t       \t\tvar enquiry_type = $(this).val();\n\n\t\t       \t\tconsole.log(enquiry_type);\n\n\t\t       \t\tif(enquiry_type == 1) {\n\t\t       \t\t\t$('.enquiry_form').show();\n\t\t       \t\t\t$('.other_enquiry_form').hide();\n\t\t       \t\t}else if(enquiry_type == 2) {\n\t\t       \t\t\t$('.other_enquiry_form').show();\n\t\t       \t\t\t$('.enquiry_form').hide();\n\t\t       \t\t}\n\t\t       \t})\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoTraining() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t            var Category \t\t= $('#Category').val();\n\t\t            var Type \t\t\t= $('#Type').val();\n\t\t             var ProductName = [];\n\t\t             $('.product-name-chk:checked').each(function(){ ProductName.push($(this).val()); });\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_training';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id+\"&Category=\"+Category+\"&Type=\"+Type+\"&ProductName=\"+ProductName.join(',');\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_training').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t       \t\/\/Fetch bco training\n\n\t\t       \tfunction fetchBcoCert() {\n\t\t       \t\tvar country_id \t\t= $('#country_id').val();\n\t\t            var state_id \t\t= $('#State').val();\n\t\t       \t\tvar url = base_url+'\/Api\/get_bco_certification';\n\n\t                var post_data = \"&country_id=\"+country_id+\"&state_id=\"+state_id;\n\t                 $.ajax({\n\t                    type:'POST',\n\t                    url:url,\n\t                    data:post_data ,\n\t                    success:function(bco_id){\n\t                    \t$('.bco_assign_cert').val(bco_id);\n\t                        \n\t                    }\n\t                });   \n\n\t\t       \t}\n\n\t\t    })\n\n<\/script>\n<\/div>\n\t\t\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\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>A course is where an internal auditor starts, not where they arrive. cGMP internal auditor training supplies the method for auditing a manufacturing operation against current Good Manufacturing Practice requirements. The first few real audits are what turn that method into judgement. Companies sometimes expect a course to produce a finished auditor. It does not,&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/iasiso-gulf.com\/OM\/cgmp-internal-auditor-training\/\" class=\"gdlr-button with-border excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6537","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/pages\/6537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/comments?post=6537"}],"version-history":[{"count":6,"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/pages\/6537\/revisions"}],"predecessor-version":[{"id":6546,"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/pages\/6537\/revisions\/6546"}],"wp:attachment":[{"href":"https:\/\/iasiso-gulf.com\/OM\/wp-json\/wp\/v2\/media?parent=6537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}