/* growform client2 bundle.url: https://assets.growform.co/6da80be-mkl9dpd0/form.bundle.js resolve.source: kv resolve.at: 2026-02-06T23:46:42.838Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6985f321dec4964e8e102e30"; var FORM_BUNDLE_URL = "https://assets.growform.co/6da80be-mkl9dpd0/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6985f321dec4964e8e102e30","options":{"numberOfSteps":4,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":true},"continueButton":{"continueText":"CHECK MY POSTCODE 👉","submitText":"submit 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":40,"parentBackgroundColor":"#9e9e9e","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#145fef","bodyTextColor":"#ffffff","parentContainerBackgroundType":"none","innerFormBackgroundType":"color","buttonBorderColor":"#9b9b9b","buttonColorSelected":"#dce3ec","buttonBorderColorSelected":"#2696e6","footerMarginBottom":40,"errorColor":"#f90000","buttonColor":"#ffffff","inputLabelColor":"#000000","inputTextColor":"#000000","buttonTextColor":"#000000","continueSubmitButtonFontSize":20,"radioButtonAndCheckboxColor":"#000000","inputBackgroundColor":"#f7f7f7","buttonFontSize":20,"rt_buttonFontSize":18,"rt_buttonTextColor":"#000000","rt_buttonFont":"Inherit","rt_buttonColor":"#f7f7f7","rt_buttonColorSelected":"#145fef","rt_buttonBorderColor":"#145fef","rt_buttonBorderColorSelected":"#145fef","rt_controlsColor":"#145fef","sq_buttonFontSize":16,"sq_buttonBorderColorSelected":"#ffffff","sq_buttonBorderColor":"#ffffff","sq_controlsColor":"#fdfdfd","showShadows":"No","sq_buttonColor":"#ffffff","continueButtonColor":"#145fef","continueButtonTextColor":"#ffffff","inputFontSize":18,"inputLabelFont":"Poppins","defaultFont":"Poppins"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"https://www.forefrontgardenrooms.co/confirmation"}],"actionOnSubmit":"redirect","customCss":"/* Custom button classes */\n.continueButton,\n.button,\n.firstButtonInRow,\n.backButton {\n border-radius: 50px;\n}\n\n\n/* Native + form-builder submit buttons */\nbutton,\ninput[type=\"submit\"],\ninput[type=\"button\"],\n.hl-button {\n border-radius: 50px !important;\n overflow: hidden;\n}","sendCustomRedirectQueryParams":true},"fields":{"decorative text_52363373085874":{"type":"Decorative Header","value":"Your Roofing Quote Is On The Way!","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":"4. Please enter your contact details below to confirm your enquiry...","width":12,"step":4,"sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"fontWeight":"bold","color":"#000000","fontStyle":"none","textAlign":"Left"},"stepId":"03a5a3ffff70c314dea644be","margins":{"marginTop":0,"marginLeft":0}},"email_907058157108782":{"type":"Email","label":"Your email address","width":12,"margins":{"marginBottom":0,"marginLeft":10,"marginRight":10},"step":4,"sortOrder":4,"stepId":"03a5a3ffff70c314dea644be","useDatasoap2":true},"phone_589083232390193":{"type":"Phone","label":"Your phone number","width":12,"margins":{"marginBottom":0,"marginLeft":10,"marginRight":10},"step":4,"sortOrder":5,"helperText":"","stepId":"03a5a3ffff70c314dea644be","defaultCountryFormat":"gb","useDatasoap2":true,"showCountryCode":false},"decorative text_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with your free home appraisal.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"name_845942148029783":{"type":"Name","label":"What is your 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,"validationRules":{"required":true}}},"stepId":"03a5a3ffff70c314dea644be","sortOrder":3,"hidePrefix":true,"customQueryParamName":"firstname","margins":{"marginLeft":10,"marginRight":10}},"decorative_header_293761273846710":{"type":"Decorative Header","value":"📍First, check if we cover your area. Enter your address below 👇","width":12,"sortOrder":1,"stepId":"702198f1621ff356fde3d452","fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":18,"unit":"px"}},"margins":{"marginTop":null,"marginRight":10,"marginLeft":10}},"decorative_paragraph_102682996734609":{"type":"Decorative Paragraph","value":"At Forefront, we promise friendly service and professional advice. We will start by sending you our e-brochure & a personalised welcome letter (PDF) instantly.","width":12,"stepId":"03a5a3ffff70c314dea644be","sortOrder":2,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#000000","textAlign":"Left"},"margins":{"marginTop":0,"marginLeft":10,"marginRight":10}},"decorative_header_156675865297631":{"type":"Decorative Header","value":"2. What’s your intended use for your garden room?","width":12,"sortOrder":2,"stepId":"860b9f0d9c9a74ceac1653ee","fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":18,"unit":"px"},"fontStyle":"normal","textDecoration":"none","lineHeight":"normal"},"margins":{"marginTop":null,"marginLeft":10,"marginRight":10}},"buttons_500767592809213":{"type":"Buttons","validationRules":{"required":true},"label":"Size","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"1","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"Single-room Studio (From £25k)","id":"436ce51add16a3b6b29f417d"},{"text":"Multi-Use Studio (From £35k)","id":"9fdb554aebdc5fe31ff89604"},{"text":"1-Bedroom Annex (From £45k)","id":"ff3f284b891c3c4bc8a43926"},{"text":"2-Bedroom Living Annex (From £75k)","image":null,"id":"96d09f6c2bda0890754e3a77"},{"text":"Bespoke","image":null,"id":"fb76d92592fc595d26a165fa"}],"stepId":"860b9f0d9c9a74ceac1653ee","sortOrder":4,"margins":{"marginTop":0,"marginLeft":null,"marginRight":0},"hideLabel":true},"zipcode_580441324985561":{"type":"Zipcode","label":"ENTER YOUR POST CODE","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"702198f1621ff356fde3d452","sortOrder":2,"margins":{"marginTop":0},"usePostcoder":true},"decorative_header_146996635273122":{"type":"Decorative Header","value":"Checking your area...","width":12,"sortOrder":1,"stepId":"59baef11e7e72e4c0ee03424","fieldStyle":{"color":"#000000","textAlign":"center","fontSize":{"value":18,"unit":"px"}}},"decorative_loading animation_716908970500977":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#145fef","type":"Dots","size":50,"redirectAfter":"1s"},"width":12,"stepId":"59baef11e7e72e4c0ee03424","sortOrder":2},"hidden_328412348640254":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"702198f1621ff356fde3d452","sortOrder":3},"hidden_22992235747198":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"702198f1621ff356fde3d452","sortOrder":4,"location":null},"hidden_791467210777425":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"702198f1621ff356fde3d452","sortOrder":5,"location":null},"hidden_345218848683355":{"type":"Hidden","hiddenFieldName":"utm_content","width":12,"stepId":"702198f1621ff356fde3d452","sortOrder":6,"location":null},"decorative_paragraph_162747174915691":{"type":"Decorative Paragraph","value":"🎉 Great, we cover your area","width":12,"stepId":"860b9f0d9c9a74ceac1653ee","sortOrder":1,"fieldStyle":{"fontSize":{"value":18,"unit":"px"},"color":"#000000","fontStyle":"normal"}},"decorative_header_233040020088085":{"type":"Decorative Header","value":"3. What is your preferred contact time?","width":12,"sortOrder":1,"stepId":"518d53d51b8571da03bf5c3a","fieldStyle":{"color":"#000000","textAlign":"Left","fontSize":{"value":18,"unit":"px"}},"margins":{"marginTop":-20}},"buttons_176906283776136":{"type":"Buttons","validationRules":{"required":true},"label":"Timeline","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":"2","rt_buttonsPerRowMobile":"1","buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"No"},"options":[{"text":"08:00 - 10:00","id":"436ce51add16a3b6b29f417d"},{"text":"10:00 - 12:00","id":"9fdb554aebdc5fe31ff89604"},{"text":"12:00 - 14:00","image":null,"id":"c0d4b29b2b01bacd2bd233df"},{"text":"14:00 - 16:00","id":"ff3f284b891c3c4bc8a43926"},{"text":"16:00 - 18:00","image":null,"id":"0342f679e299b72a8a247944"},{"text":"Anytime","image":null,"id":"0ca79077c68dc4acd6c542b0"}],"stepId":"518d53d51b8571da03bf5c3a","sortOrder":2,"margins":{"marginTop":0,"marginLeft":10,"marginRight":10},"hideLabel":true},"decorative_text_446722995107305":{"type":"Decorative Text","value":"

Note: Annex's include bathroom, water, waste electrics.

","fieldStyle":{"fontSize":{"value":16,"unit":"px"},"color":"#000000","textAlign":"left"},"width":12,"v":2,"stepId":"860b9f0d9c9a74ceac1653ee","sortOrder":3,"margins":{"marginLeft":10,"marginTop":-18,"marginRight":10}}},"ownedByUser":"6492e74bac713f000bdf5a91","formName":"Forefront: Garden Rooms (Growth Template Landing Page - Dec 2025)","personalisation":{"form_related_to":"Roofers / roofing"},"lastEdited":"2026-02-06T15:10:35.057Z","created":"2026-02-06T13:56:49.639Z","steps":[{"id":"702198f1621ff356fde3d452","name":"CHECK MY AREA ","sortOrder":1,"copyOf":"b22755feb14d37732839f055"},{"id":"59baef11e7e72e4c0ee03424","name":"Animiation","sortOrder":2,"copyOf":"702198f1621ff356fde3d452"},{"id":"860b9f0d9c9a74ceac1653ee","name":"Size garden room","sortOrder":3,"copyOf":"702198f1621ff356fde3d452"},{"id":"518d53d51b8571da03bf5c3a","name":"Timeline","sortOrder":4,"copyOf":"860b9f0d9c9a74ceac1653ee"},{"id":"03a5a3ffff70c314dea644be","name":"Contact details","sortOrder":5}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1770388856/growform-production/form-screenshots/6985f321dec4964e8e102e30.png","leadsCount":1,"isActive":true,"reportedSpam":null,"spamOcr":"❤ First, check if we cover your area. Enter your address\nbelow\nENTER YOUR POST CODE\nCHECK MY POSTCODE ❤ First , check if we cover your area . Enter your address below ENTER YOUR POST CODE CHECK MY POSTCODE","__v":0,"folderId":"6943e84e3fcb61e7e2ec745f"},"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' + '