/* growform client2 bundle.url: https://assets.growform.co/d8c7d9a4-mon2udqj/form.bundle.js resolve.source: kv resolve.at: 2026-05-23T17:20:26.895Z form.source: kv cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "689ed6d23468b6cc7fb17e38"; var FORM_BUNDLE_URL = "https://assets.growform.co/d8c7d9a4-mon2udqj/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"689ed6d23468b6cc7fb17e38","options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"continue","submitText":"Request My Quote","backText":"Back"},"customStyles":{"width":{"unit":"px","value":600},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1362,"imageInitialWidth":2066,"imageHeight":1362,"imageWidth":2066,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597337140/uploads/qmsfk98ank3wfp1ehvyg.jpg"},"headerMarginTop":20,"parentBackgroundColor":"#fcfcfc","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#f4791d","bodyTextColor":"#343434","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ee9c4d","buttonBorderColorSelected":"#ff7500","footerMarginBottom":20,"errorColor":"#ff4e4e","buttonColor":"#ee9c27","buttonTextColor":"#ffffff","inputLabelColor":"#333333","inputTextColor":"#000000","defaultFont":"Open Sans","sq_buttonFont":"Poppins","sq_buttonFontSize":15,"showShadows":"Yes","sq_buttonTextColor":"#343434","sq_buttonColor":"#FFFFFF","sq_buttonColorSelected":"#FFFFFF","sq_buttonBorderColor":"#DADADA","sq_buttonBorderColorSelected":"primary","sq_buttonBannerColor":"#ffffff","rt_buttonFont":"Poppins","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Open Sans","inputFontSize":20,"continueSubmitButtonFontSize":19,"buttonFontSize":19,"continueSubmitButtonFont":"Open Sans"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://quote.comparehgvinsurance.co.uk/hgv-quote/","conditionalLogic":null}],"actionOnSubmit":"redirect","customCss":"/* Base styling for the progress bar container */\n.progressBar {\n width: 100%;\n height: 20px; /* Adjust thickness here */\n background-color: #ccc; /* Light gray background (can be any color or removed) */\n border-radius: 5px;\n position: relative;\n overflow: hidden;\n}\n\n/* Style and animate the completed portion of the progress bar */\n.progressBar::before {\n content: '';\n position: absolute;\n height: 100%;\n width: 0; /* Initial width for animation, adjust as needed */\n background-color: #007bff; /* Example color for completed progress */\n transition: width 1s ease-in-out; /* Smooth transition for animation */\n}\n\n\n","analyticsSettings":{"google_analytics":{"trackingId":"G-V32W178J1H"},"custom_gtm":{"parentContainerId":"GTM-5FG3FSBC","childContainerId":"GTM-N87M5X38"}}},"fields":{"number_368590315443912":{"type":"Number","label":"Number of vehicle to insure","currencySymbol":"None","width":12,"stepId":"ff4727c9498ef9c0a6c989d9","sortOrder":2},"decorative_header_933157071580481":{"type":"Decorative Header","value":"What is your first name?","width":12,"sortOrder":1,"stepId":"1964529b53152ab0f1fdeb0a"},"text_650553594784618":{"type":"Text","label":"Your first name only","width":12,"sortOrder":2,"stepId":"1964529b53152ab0f1fdeb0a","validationRules":{"required":true}},"decorative_header_289366247133675":{"type":"Decorative Header","value":"What is your last name","width":12,"sortOrder":1,"stepId":"d373fc355a95a881d7932516"},"text_66164731241748":{"type":"Text","label":"Your last name only","width":12,"sortOrder":2,"stepId":"d373fc355a95a881d7932516","validationRules":{"required":true}},"decorative_header_921342349321669":{"type":"Decorative Header","value":"Driver details","width":12,"sortOrder":1,"stepId":"3458f5882ee68aacacd5cedf"},"decorative_header_280061268335894":{"type":"Decorative Header","value":"Business details","width":12,"sortOrder":1,"stepId":"6b836cb33499ed1f6cf97397"},"text_91852761305981":{"type":"Text","label":"Business Name","width":12,"sortOrder":3,"stepId":"6b836cb33499ed1f6cf97397","validationRules":{"required":true}},"decorative_header_531886917119644":{"type":"Decorative Header","value":"What email would you like to appear on your policy details?","width":12,"sortOrder":1,"stepId":"0f6c19e4440b5248464a20b0"},"decorative_header_500607707733146":{"type":"Decorative Header","value":"Finally, what mobile number would you like on your policy documents?","width":12,"sortOrder":1,"stepId":"35ce792f168696f0cd01a0f1"},"decorative_header_985488010508550":{"type":"Decorative Header","value":"When do you need your policy to start?","width":12,"sortOrder":1,"stepId":"23048c0f6501f60d27da714a"},"single_select_706204644953296":{"type":"Single Select","width":12,"label":"Select policy driver type","options":[{"text":"1 Driver Only","id":"93a5a43f12c0ae04d0b40990"},{"text":"Up To 5 Named Drivers","id":"02a70710832f9d0eb035f68c"},{"text":"Any Driver Over 25","id":"5002430836211362932acf99"},{"text":"Any Driver Over 21","image":null,"id":"91ace380ec9cc9962a28fd0c"},{"text":"Other","image":null,"id":"e7478471c7f14e83a47afb31"}],"helperText":null,"stepId":"3458f5882ee68aacacd5cedf","sortOrder":3,"validationRules":{"required":true}},"single_select_264563299931319":{"type":"Single Select","width":12,"label":"Any claims in the past 5 years","options":[{"text":"Yes","id":"93a5a43f12c0ae04d0b40990"},{"text":"No","id":"02a70710832f9d0eb035f68c"}],"helperText":null,"stepId":"3458f5882ee68aacacd5cedf","sortOrder":5,"validationRules":{"required":true}},"decorative_paragraph_919739641988099":{"type":"Decorative Paragraph","value":"Policy driver type","width":12,"stepId":"3458f5882ee68aacacd5cedf","sortOrder":2,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}}},"decorative_paragraph_294790548816213":{"type":"Decorative Paragraph","value":"Any claims in the past 5 years","width":12,"stepId":"3458f5882ee68aacacd5cedf","sortOrder":4,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18,"marginRight":null},"location":null,"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}}},"single_select_280522359853200":{"type":"Single Select","width":12,"label":"Date business established","options":[{"text":"0 Years","id":"93a5a43f12c0ae04d0b40990"},{"text":"1 Year","id":"02a70710832f9d0eb035f68c"},{"text":"2 Years","id":"5002430836211362932acf99"},{"text":"3 Years","image":null,"id":"4ba41ea34c9e7cde65b5c9a0"},{"text":"4 Years","image":null,"id":"a2500ed0e15e0d6add69c8c2"},{"text":"5 Years","image":null,"id":"03a9b74d83fdd3d0f746893e"},{"text":"5 Years +","image":null,"id":"20f8a275b98f00f83e0ccd65"}],"helperText":null,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":7,"validationRules":{"required":true}},"single_select_794552279470540":{"type":"Single Select","width":12,"label":"Do you have an operators licence","options":[{"text":"Yes","id":"93a5a43f12c0ae04d0b40990"},{"text":"No","id":"02a70710832f9d0eb035f68c"},{"text":"Application Pending","image":null,"id":"0ada22dd26d3db45093426a1"},{"text":"Not Required","image":null,"id":"d95ab2589214d776d75fdc8e"}],"helperText":null,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":9,"validationRules":{"required":true}},"email_611541137430917":{"type":"Email","label":"Email address on your policy details","width":12,"stepId":"0f6c19e4440b5248464a20b0","sortOrder":2},"phone_866842363829139":{"type":"Phone","label":"Mobile number on your policy documents","width":12,"stepId":"35ce792f168696f0cd01a0f1","sortOrder":2,"defaultCountryFormat":"gb","showCountryCode":true},"date_631809220483700":{"type":"Date","label":"Policy start date","width":12,"disablePast":true,"stepId":"23048c0f6501f60d27da714a","sortOrder":2,"validationRules":{"required":true}},"decorative_loading animation_967679916201810":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Circle","size":300,"redirectAfter":"2.5s"},"width":12,"stepId":"a0673545a588c46a9a225b6a","sortOrder":1},"decorative_paragraph_584724344922246":{"type":"Decorative Paragraph","value":"Business name","width":12,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":2,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"decorative_paragraph_655253213752991":{"type":"Decorative Paragraph","value":"Number of years business established","width":12,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":6,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"decorative_paragraph_263728739474875":{"type":"Decorative Paragraph","value":"Do you have an operators licence","width":12,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":8,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"decorative_header_164526829333503":{"type":"Decorative Header","value":"🚛 To Start Your HGV Fleet Quote, Firstly Enter The Amounts Of Vehicle's Below...","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":28,"unit":"px"},"fontWeight":"Normal","fontFamily":"Open Sans","fontStyle":"Normal","color":"inherit"},"stepId":"ff4727c9498ef9c0a6c989d9","margins":{"marginBottom":0},"location":null},"decorative_paragraph_505937010376566":{"type":"Decorative Paragraph","value":"Nature of business","width":12,"stepId":"6b836cb33499ed1f6cf97397","sortOrder":4,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"text_893105124835225":{"type":"Text","label":"Business nature","width":12,"sortOrder":5,"stepId":"6b836cb33499ed1f6cf97397","validationRules":{"required":true},"location":null},"decorative_header_859253783145305":{"type":"Decorative Header","value":"Policy details","width":12,"sortOrder":1,"stepId":"28271b4fc21d34f8baf557b1"},"single_select_598330964886103":{"type":"Single Select","width":12,"label":"Current policy fleet rated or NCD rated","options":[{"text":"NCD Rated","id":"93a5a43f12c0ae04d0b40990"},{"text":"Fleet Rated","id":"02a70710832f9d0eb035f68c"},{"text":"No Existing Policy","id":"5002430836211362932acf99"}],"helperText":null,"stepId":"28271b4fc21d34f8baf557b1","sortOrder":3,"validationRules":{"required":true}},"decorative_paragraph_839918687115541":{"type":"Decorative Paragraph","value":"Is your current policy fleet rated or NCD rated\n","width":12,"stepId":"28271b4fc21d34f8baf557b1","sortOrder":2,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"decorative_header_858738495993761":{"type":"Decorative Header","value":"Can we help with anything else?","width":12,"sortOrder":1,"stepId":"495f986f9e88e5f063af5875"},"checkboxes_203952962090088":{"type":"Checkboxes","label":"Can we help you with anything else?","width":"12","options":[{"text":"Goods in Transit","id":"ff1a3c755f3f19aa4fe8a647"},{"text":"Employers' & Public Liability","id":"6c6856d45190dd3d7704e5ec"},{"text":"Breakdown & Recovery","id":"79654f4eeb7c4a7da070e9ca"},{"text":"Excess Protect","image":null,"id":"7f3bdd07c3f29cc9347c4b09"},{"text":"Director’s & Officers","image":null,"id":"e2c603fa95533f0062d5c360"},{"text":"Property","image":null,"id":"5821959b8d434079f6c2e665"}],"stepId":"495f986f9e88e5f063af5875","sortOrder":2,"hideLabel":true,"customCssClasses":"chgv-checkboxes","location":null},"decorative_paragraph_548378447032669":{"type":"Decorative Paragraph","value":"What is your business postcode","width":12,"stepId":"0047ac4840a5eba09bf3291b","sortOrder":2,"margins":{"marginLeft":null,"marginTop":null,"marginBottom":-18},"fieldStyle":{"fontWeight":"Bold","fontSize":{"value":19,"unit":"px"}},"location":null},"zipcode_984418195273234":{"type":"Zipcode","label":"Business postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"0047ac4840a5eba09bf3291b","sortOrder":3},"decorative_header_324193501252138":{"type":"Decorative Header","value":"Address details","width":12,"sortOrder":1,"stepId":"0047ac4840a5eba09bf3291b","location":null}},"ownedByUser":"66ea9d7034b3d2000c213713","formName":"HGV FLEET INSURANCE","personalisation":{"form_related_to":"(None - start with a blank slate)"},"lastEdited":"2026-05-11T12:29:44.387Z","created":"2025-08-15T06:42:26.401Z","steps":[{"id":"ff4727c9498ef9c0a6c989d9","name":"Number Of HGV's","sortOrder":1},{"id":"6b836cb33499ed1f6cf97397","name":"Business Name","sortOrder":2},{"id":"1964529b53152ab0f1fdeb0a","name":"First Name","sortOrder":3},{"id":"d373fc355a95a881d7932516","name":"Last Name","sortOrder":4},{"id":"28271b4fc21d34f8baf557b1","name":"Policy Details","sortOrder":5,"copyOf":"6b836cb33499ed1f6cf97397"},{"id":"0047ac4840a5eba09bf3291b","name":"Business postcode","sortOrder":6,"copyOf":"28271b4fc21d34f8baf557b1"},{"id":"3458f5882ee68aacacd5cedf","name":"Driver Details","sortOrder":7},{"id":"0f6c19e4440b5248464a20b0","name":"Email","sortOrder":8},{"id":"35ce792f168696f0cd01a0f1","name":"Mobile","sortOrder":9},{"id":"23048c0f6501f60d27da714a","name":"Start Date","sortOrder":10},{"id":"495f986f9e88e5f063af5875","name":"Add Ons","sortOrder":11,"copyOf":"23048c0f6501f60d27da714a"},{"id":"a0673545a588c46a9a225b6a","name":"Load","sortOrder":12}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1778502590/growform-production/form-screenshots/689ed6d23468b6cc7fb17e38.png","leadsCount":128,"isActive":true,"__v":0,"reportedSpam":false,"spamOcr":"To Start Your HGV Fleet Quote, Firstly\nEnter The Amounts Of Vehicle's Below...\nNumber of vehicle to insure\nCONTINUE To Start Your HGV Fleet Quote , Firstly Enter The Amounts Of Vehicle's Below ... Number of vehicle to insure CONTINUE"},"accountIsActive":true,"accountIsFreeTrial":false}}; // ---- Utils ---- function safeJSONStringify(obj) { return JSON.stringify(obj) .replace(/<\/(script|style)/gi, '<\\/$1') .replace(//g, '--\\>') .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029'); } function preloadScript(href) { try { if (!href) return; if (document.querySelector('link[rel="preload"][href="' + href + '"]')) return; var l = document.createElement("link"); l.rel = "preload"; l.as = "script"; l.href = href; l.crossOrigin = ""; // allow cache reuse in iframe document.head.appendChild(l); } catch (_) {} } function parseQuery() { var out = {}; try { if (!window.location.search) return out; var usp = new URLSearchParams(window.location.search); usp.forEach(function (v, k) { out[k] = v; }); } catch (_) {} return out; } function getCookie(name) { try { var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? decodeURIComponent(match[2]) : ''; } catch (_) { return ''; } } function buildIframeHTML(opts) { var html = '\n' + '\n' + '
\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '