/* growform client2 bundle.url: https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js resolve.source: kv resolve.at: 2025-11-08T07:22:06.310Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "690366cfa2d1597795067b51"; var FORM_BUNDLE_URL = "https://assets.growform.co/df322d5-mhjegkpe/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"690366cfa2d1597795067b51","options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"CHECK MY POSTCODE 👉","submitText":"Complete my enquiry 👉","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":1116,"imageInitialWidth":1902,"imageHeight":1116,"imageWidth":1902,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1601640522/uploads/qrwuvldlke6g8njr2x6j.jpg"},"headerMarginTop":30,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#af9152","bodyTextColor":"#000000","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":30,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":18,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#f5f5f5","buttonFontSize":20,"showShadows":"No","rt_buttonFontSize":18,"inputFontSize":18,"defaultFont":"Poppins","inputLabelFont":"Open Sans","rt_buttonBorderColor":"#f5f5f5","rt_buttonColor":"#f5f5f5","rt_buttonBorderColorSelected":"#af9152","rt_controlsColor":"#af9152"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://dixonswindowsdoors.co.uk/enquiry-confirmed/?"}],"actionOnSubmit":"redirect","customCss":"","sendCustomRedirectQueryParams":true},"fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Please wait!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":"22","unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"decorative text_576559560634956":{"type":"Decorative Header","value":"Great, please enter your details below to complete your enquiry... ","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"fontWeight":"Bold","color":"#000000","fontStyle":"none","textAlign":"left"},"stepId":"03a5a3ffff70c314dea644be"},"email_907058157108782":{"type":"Email","label":"EMAIL ADDRESS","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":3,"stepId":"03a5a3ffff70c314dea644be","useDatasoap2":true},"phone_589083232390193":{"type":"Phone","label":"PHONE NUMBER","width":12,"margins":{"marginBottom":0},"step":4,"sortOrder":4,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb","useDatasoap2":true},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"We are confirming your quote...","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"text_82023588022046":{"type":"Text","label":"FULL NAME","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"validationRules":{"required":true},"hideLabel":false},"decorative_header_374277545346617":{"type":"Decorative Header","value":"3. Are you interested in bi-folds?","width":12,"sortOrder":1,"stepId":"f44cf2b916a72ed8fe5e326e","fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left"}},"buttons_188151712794209":{"type":"Buttons","validationRules":{"required":true},"label":"Bi-folds","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Yes","id":"8d266084b20466a83a0a7306"},{"text":"No","id":"e0430b6a05792933273adbfc"}],"stepId":"f44cf2b916a72ed8fe5e326e","sortOrder":2,"hideLabel":true},"buttons_167493912123223":{"type":"Buttons","validationRules":{"required":true},"label":"Number of windows","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"0","id":"8d266084b20466a83a0a7306","image":null},{"text":"1-2","id":"e0430b6a05792933273adbfc","image":null},{"text":"3-4","id":"25658ea4ea6166163f3f850a","image":null},{"text":"5-6","image":null,"id":"1ddceed1cc3ae6a64c29d94d"},{"text":"7-8","image":null,"id":"2d56dbdca1dddb03ab5f12bc"},{"text":"8+","image":null,"id":"6171f85f19dd89754b25c74b"}],"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":3,"hideLabel":true,"customCssClasses":"","margins":{"marginTop":-15}},"decorative_paragraph_959797423070116":{"type":"Decorative Paragraph","value":"Great! We cover your area! ✅","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"textAlign":"Center","fontWeight":"Normal"},"margins":{"marginTop":-10}},"buttons_614323083764015":{"type":"Buttons","validationRules":{"required":true},"label":"Number of doors","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"2","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{"rt_borderRadius":3},"options":[{"text":"0","image":null,"id":"659bcee578e486b46c8de74f"},{"text":"1","id":"8d266084b20466a83a0a7306","image":null},{"text":"2-3","id":"e0430b6a05792933273adbfc","image":null},{"text":"4+","id":"25658ea4ea6166163f3f850a","image":null}],"stepId":"e2dfcf2c0705c63254a61cd1","sortOrder":2,"hideLabel":true,"customCssClasses":"","margins":{"marginTop":-15}},"decorative_paragraph_603059983344176":{"type":"Decorative Paragraph","value":"2. How many doors are you interested in?","width":12,"stepId":"e2dfcf2c0705c63254a61cd1","sortOrder":1,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginTop":-10}},"hidden_941507820126990":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":4},"hidden_105836253707051":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":5},"hidden_807575839130182":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":6},"hidden_815938833012490":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":7},"decorative_paragraph_147900725242146":{"type":"Decorative Paragraph","value":"First, see if we service your area 👇","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":1,"fieldStyle":{"fontSize":{"value":22,"unit":"px"},"textAlign":"Center","fontWeight":"Bold"},"margins":{"marginTop":-10}},"hidden_31421267744120":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":3},"hidden_529646644292941":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":4},"hidden_162834960964319":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":5},"hidden_252612821839526":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":6},"zipcode_995900600892992":{"type":"Zipcode","label":"ENTER YOUR POST CODE","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"8a12546319c4fb61bae8ed52","sortOrder":2,"usePostcoder":true},"decorative_paragraph_228170432493006":{"type":"Decorative Paragraph","value":"1. How many windows are you interested in?","width":12,"stepId":"5289d17d1c5fe089c23fc6e5","sortOrder":2,"fieldStyle":{"fontSize":{"value":20,"unit":"px"},"textAlign":"Left","fontWeight":"Bold"},"margins":{"marginTop":-10},"location":null}},"ownedByUser":"6492e74bac713f000bdf5a91","formName":"Dixon's Windows & Doors","personalisation":{"form_related_to":"Roofers / roofing"},"lastEdited":"2025-11-05T10:03:42.387Z","created":"2025-10-30T13:23:27.694Z","steps":[{"id":"8a12546319c4fb61bae8ed52","name":"See if we service your area","sortOrder":1,"copyOf":"5289d17d1c5fe089c23fc6e5"},{"id":"5289d17d1c5fe089c23fc6e5","name":"Windows","sortOrder":2,"copyOf":"e579a24de17a18ac3e426770"},{"id":"e2dfcf2c0705c63254a61cd1","name":"Doors","sortOrder":3,"copyOf":"5289d17d1c5fe089c23fc6e5"},{"id":"f44cf2b916a72ed8fe5e326e","name":"Bi-folds","sortOrder":4},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":5}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1761830631/growform-production/form-screenshots/690366cfa2d1597795067b51.png","leadsCount":1,"isActive":true,"__v":0},"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' + '