/* growform client2 bundle.url: https://assets.growform.co/06f828b-mhc46129/form.bundle.js resolve.source: memory resolve.at: 2025-10-30T12:39:49.358Z form.source: kv cache.age_ms: 4857 fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "67ee86646ab364000bb73911"; var FORM_BUNDLE_URL = "https://assets.growform.co/06f828b-mhc46129/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"67ee86646ab364000bb73911","steps":[{"id":"9015008205c7080f7743c51b","name":"Are you the homeowner?","sortOrder":1,"conditionalLogic":null},{"id":"acd45227cac332d443c4e1db","name":"How many windows?","sortOrder":2},{"id":"b00d519f458d9a448f0b3e2f","name":"Which materials?","sortOrder":3,"conditionalLogic":null},{"id":"1a06cb456da6c2721026134b","name":"What is your postcode?","sortOrder":4,"conditionalLogic":null},{"id":"61550db262519e3f8a6d23bf","name":"Loading screen","sortOrder":5},{"id":"e1d589d1e2dcaf9e23e472d3","name":"Who can we send your quote?","sortOrder":6}],"formName":"Windows and doors","fields":{"Decorative Header_797442086161467":{"type":"Decorative Header","value":"How many windows?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"bold","color":"inherit","textAlign":"center","letterSpacing":"normal","fontStyle":"normal","textDecoration":"none","lineHeight":"200%"},"stepId":"acd45227cac332d443c4e1db","margins":{"marginBottom":-2,"marginTop":20}},"buttons_109446974978914":{"type":"Buttons","validationRules":{"required":true},"label":"productAmount","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":1,"buttonsType":"Legacy","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","height":50},"options":[{"text":"Between 1 - 3","id":"5be94772672205ea06fa1c3c"},{"text":"Between 4 - 6","id":"192368f189795a7f9199624d"},{"text":"More than 6","id":"cd688d984891cf9918f17913"}],"stepId":"acd45227cac332d443c4e1db","sortOrder":2,"hideLabel":true,"margins":{"marginLeft":0,"marginRight":0,"marginBottom":-20}},"decorative_header_603062468587340":{"type":"Decorative Header","value":"What is your postcode?","width":12,"sortOrder":1,"stepId":"1a06cb456da6c2721026134b","fieldStyle":{"fontSize":{"value":20,"unit":"px"}}},"zipcode_94917296471978":{"type":"Zipcode","label":"Postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"1a06cb456da6c2721026134b","sortOrder":2,"margins":{"marginLeft":0,"marginRight":0},"hideLabel":false,"helperText":"We use your postcode to match you with installers in your area"},"decorative_header_77579322715220":{"type":"Decorative Header","value":"Which materials?","width":12,"sortOrder":1,"stepId":"b00d519f458d9a448f0b3e2f","fieldStyle":{"fontSize":{"value":20,"unit":"px"}},"margins":{"marginTop":10}},"decorative_header_309294145351710":{"type":"Decorative Header","value":"Are you the homeowner?","width":12,"sortOrder":1,"stepId":"9015008205c7080f7743c51b","fieldStyle":{"fontSize":{"value":20,"unit":"px"}},"margins":{"marginTop":20}},"buttons_615739040191283":{"type":"Buttons","validationRules":{"required":true},"label":"homeowner","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":1,"buttonsType":"Legacy","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","height":50,"sq_buttonsPerRow":"2"},"options":[{"text":"Yes","id":"12afce9f488982556c06960b","image":null},{"text":"No","id":"6cdaea17aa87f011dfa75883","image":null}],"stepId":"9015008205c7080f7743c51b","sortOrder":2,"hideLabel":true,"margins":{"marginRight":0,"marginLeft":0,"marginTop":0,"marginBottom":10},"customCssClasses":""},"decorative_image_787486932310772":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1751525203/uploads/lp80kwuat3kexixp9tee.png","width":12,"imageWidth":375,"imageHeight":150,"imageInitialHeight":400,"imageInitialWidth":1000,"stepId":"9015008205c7080f7743c51b","sortOrder":3,"margins":{"marginTop":-12}},"buttons_843584661782268":{"type":"Buttons","validationRules":{"required":false},"label":"productType","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Legacy","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","height":46,"buttonsPerRow":"1"},"imageStyles":{},"options":[{"text":"uPVC","id":"76d62d1b9d24ce64fe9d6ca2"},{"text":"Wooden","id":"bbe8080ed48355aab35c5a8a"},{"text":"Aluminium","id":"2b7bfbc3342e6a39c92c613d"},{"text":"Other","id":"bad63d777e91e57ffb14d8e5"}],"stepId":"b00d519f458d9a448f0b3e2f","sortOrder":2,"hideLabel":true,"margins":{"marginLeft":0,"marginRight":0,"marginBottom":-20}},"decorative_header_632065923414638":{"type":"Decorative Header","value":"Please wait while we check for installers in your area...","width":12,"sortOrder":1,"stepId":"61550db262519e3f8a6d23bf"},"decorative_loading animation_215687071288037":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#059cde","type":"Dots","size":80,"redirectAfter":"2.5s"},"width":12,"stepId":"61550db262519e3f8a6d23bf","sortOrder":2},"decorative_header_398074861499588":{"type":"Decorative Header","value":"Enter your details to get your free quote","width":12,"sortOrder":2,"stepId":"e1d589d1e2dcaf9e23e472d3","fieldStyle":{"fontSize":{"value":14,"unit":"px"}},"margins":{"marginTop":-15,"marginBottom":-10}},"name_272866618169429":{"type":"Name","label":"name","width":12,"hideLabel":true,"options":{"Firstname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Lastname":{"value":null,"errorText":null,"validationRules":{"required":true}},"Prefix":{"value":null,"errorText":null}},"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":3,"hidePrefix":true,"margins":{"marginBottom":-10,"marginTop":-5}},"email_477385982348137":{"type":"Email","label":"Email","width":12,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":4,"margins":{"marginTop":-10,"marginBottom":-10}},"phone_673471950668288":{"type":"Phone","label":"Phone number","width":12,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":5,"defaultCountryFormat":"gb","margins":{"marginBottom":-25,"marginTop":-10},"hideLabel":false},"decorative_header_26266073579930":{"type":"Decorative Header","value":"Installers found in your area","width":12,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":1,"margins":{"marginTop":-4,"marginBottom":-4},"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"color":"#17920d","textDecoration":"none"}},"decorative_text_184719050884154":{"type":"Decorative Text","value":"
By submitting this form you consent to dealhelper.co.uk processing your data in accordance with our Privacy Policy and Terms & Conditions and you agree to be contacted by one of our accredited installers to confirm your details and provide a comparison and quotation based on your circumstances.
","fieldStyle":{"fontSize":{"value":9,"unit":"px"},"fontFamily":"Inter"},"width":12,"v":2,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":1,"location":"footer","margins":{"marginTop":-22,"marginBottom":-20}},"hidden_679414834652872":{"type":"Hidden","hiddenFieldName":"source","width":12,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":6,"defaultValue":""},"hidden_482708073214126":{"type":"Hidden","hiddenFieldName":"transaction_id","width":12,"stepId":"e1d589d1e2dcaf9e23e472d3","sortOrder":7}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false,"hideOnFirstStep":true,"variant":"line","position":"formTop","circles_size":1,"bars_height":15,"margins":{"marginBottom":-9,"marginLeft":null,"marginRight":0,"marginTop":7},"bars_width":"compact","line_height":20,"line_showPercent":"Yes","line_enableStripes":"Yes","line_animateStripes":"Yes"},"continueButton":{"continueText":"continue","submitText":"Get my free quote now","backText":"Back"},"customStyles":{"width":{"unit":"px","value":500},"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":"#f00480","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#0a83ca","bodyTextColor":"#343434","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#17920d","buttonColorSelected":"#787474","buttonBorderColorSelected":"#17920d","footerMarginBottom":20,"errorColor":"#ff4e4e","buttonColor":"#17920d","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Open Sans","sq_buttonFont":"Poppins","sq_buttonFontSize":40,"showShadows":"Yes","sq_buttonTextColor":"#ffffff","sq_buttonColor":"#0a83ca","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":"Poppins","inputFontSize":15,"continueSubmitButtonFontSize":20,"fullModeBackgroundColor":"#f00480","canvasSetup":"minimal","progressColor":"#10cc00","formMarginSide":10,"buttonFontSize":20,"continueButtonColor":"#17920d","sq_controlsColor":"#0aca1f","inputBackgroundColor":"#ffffff"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://www.dealhelper.co.uk/thank-you-page-compare-companies/","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_615739040191283","operator":"selected_option","criteria":"12afce9f488982556c06960b"}]}]}}],"logo":null,"footer":null,"analyticsSettings":{"trustedForm":{"enabled":false}},"additionalInfo":null,"customCss":"/* Smooth transition effect */\n.btn {\n transition: background-color 0.3s ease;\n}\n\n/* Hover color change */\n.btn:hover {\n background-color: #10cc00 !important; /* Change to any color you like */\n color: white !important;\n cursor: pointer;\n}\n/* Base styling for continue and submit buttons */\n.continueButton,\n.submitButton {\n transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;\n outline: none !important;\n box-shadow: none !important;\n border: 2px solid transparent;\n}\n\n/* Hover and focus effects for Continue buttons */\n.continueButton:hover,\n.continueButton:focus {\n background-color: #10cc00 !important; /* Blue background */\n color: white !important;\n border: 2px solid #10cc00 !important; /* Darker blue border */\n box-shadow: 0 0 0 2px #10cc00;\n cursor: pointer;\n outline: none !important;\n}\n\n/* Hover and focus effects for Submit button (slightly different shade if desired) */\n.submitButton:hover,\n.submitButton:focus {\n background-color: #10cc00 !important; /* Green CTA */\n color: white !important;\n border: 2px solid #10cc00 !important; /* Dark green border */\n box-shadow: 0 0 0 2px #b3e6c0;\n cursor: pointer;\n outline: none !important;\n}","actionOnSubmit":"redirect"},"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1758883847/growform-production/form-screenshots/67ee86646ab364000bb73911.png","ownedByUser":"67e50d790543b0000baab605","personalisation":{"form_related_to":"(None - start with a blank slate)"},"created":"2025-04-03T13:00:20.900Z","__v":0,"lastEdited":"2025-10-14T15:10:59.893Z","leadsCount":95,"isActive":true},"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 buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + ' \n' + '