/* growform client2 bundle.url: https://assets.growform.co/c0fb756-mguwl632/form.bundle.js resolve.source: kv resolve.at: 2025-10-19T10:22:52.349Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6739e3069dcbd1000b9361dd"; var FORM_BUNDLE_URL = "https://assets.growform.co/c0fb756-mguwl632/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6739e3069dcbd1000b9361dd","steps":[{"id":"2d95de6cbf33867267a18be6","name":"Type of service","sortOrder":1,"copyOf":"60c2d61a66a74bcb70ce6e49"},{"id":"42ee9fdf47cdf33c051fb399","name":"Please Explain What You Need","sortOrder":2,"copyOf":"2d95de6cbf33867267a18be6","conditionalLogic":{"action":"show","ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_86552269379590","operator":"selected_option","criteria":"7b0ad336bc19b25f7a0fbcf3"}]}]}},{"id":"db0843d715ee92ab5f49e9cf","name":"What type of building is this for?","sortOrder":3,"copyOf":"2d95de6cbf33867267a18be6"},{"id":"48c438cfe957a9fb62db10c2","name":"How tall is your house/ Building","sortOrder":4,"copyOf":"db0843d715ee92ab5f49e9cf"},{"id":"04ce757ec7d21b49a3e7b0fd","name":"Are you the property owner?","sortOrder":5,"copyOf":"48c438cfe957a9fb62db10c2"},{"id":"a71db1b161313a5e5111a31b","name":"How soon do you need help?","sortOrder":6,"copyOf":"db0843d715ee92ab5f49e9cf"},{"id":"acd45227cac332d443c4e1db","name":"Location info","sortOrder":7},{"id":"bd14aca8db02672f39ecac5c","name":"Loading","sortOrder":8,"copyOf":"acd45227cac332d443c4e1db"},{"id":"f5b33db1e499f8ace205db3c","name":"Method of contact","sortOrder":9,"copyOf":"a71db1b161313a5e5111a31b"},{"id":"ff4727c9498ef9c0a6c989d9","name":"First name","sortOrder":10},{"id":"0fff190f35bbac3dd6124226","name":"Phone Number","sortOrder":11,"copyOf":"ff4727c9498ef9c0a6c989d9"}],"formName":"Compare Roofers","fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thank you for letting us help you find the best roofer.","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative Header_797442086161467":{"type":"Decorative Header","value":"Where is the property located?","width":12,"step":2,"sortOrder":2,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"acd45227cac332d443c4e1db"},"Decorative Header_576559560634956":{"type":"Decorative Header","value":"What is your name?\n","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"ff4727c9498ef9c0a6c989d9"},"text_373461752242760":{"type":"Text","label":"First name","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"validationRules":{"required":true},"stepId":"ff4727c9498ef9c0a6c989d9","helperText":"Please let us know who to contact"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"You can now relax knowing that the best local roofers in the area will be in contact to arrange free, no obligation quotations & discuss information regarding pricing for your roof","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_148937855441882":{"type":"Decorative Header","value":"What roofing service do you need?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"bold"},"stepId":"2d95de6cbf33867267a18be6","margins":{"marginBottom":5}},"buttons_86552269379590":{"type":"Buttons","validationRules":{"required":true},"label":"Service Required","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes","sq_buttonsPerRow":"2"},"options":[{"text":"Roof Replacement/ New Roof","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"Repair Existing Roof","id":"8520042178329cb66678244d","image":null},{"text":"Gutters, Fascias or Soffits","id":"7a1aa416126e2e2cbb386e98","image":null},{"text":"Other","image":null,"id":"7b0ad336bc19b25f7a0fbcf3"}],"stepId":"2d95de6cbf33867267a18be6","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":27,"size":"150%"},"helperText":"","customCssClasses":"What roofing service do you need?"},"decorative_header_508141053547316":{"type":"Decorative Header","value":"What type of building is this for?","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"db0843d715ee92ab5f49e9cf","margins":{"marginBottom":5}},"buttons_198380269093926":{"type":"Buttons","validationRules":{"required":true},"label":"Domestic/Commercial","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Home/ Residence","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"Business/ Commercial","id":"8520042178329cb66678244d","image":null}],"stepId":"db0843d715ee92ab5f49e9cf","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":27}},"decorative_header_838989067101723":{"type":"Decorative Header","value":"How tall is your house/ Building","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"48c438cfe957a9fb62db10c2","margins":{"marginBottom":5}},"buttons_543958597018123":{"type":"Buttons","validationRules":{"required":false},"label":"Height of property","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"1 story","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"2+ stories","id":"8520042178329cb66678244d","image":null}],"stepId":"48c438cfe957a9fb62db10c2","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":27}},"decorative_loading animation_593422689017549":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#838383","type":"Dots","size":30,"redirectAfter":"2s"},"width":12,"stepId":"bd14aca8db02672f39ecac5c","sortOrder":1},"decorative_header_52775764107625":{"type":"Decorative Header","value":"Finding The Best Roofer For Your requirements...","width":12,"stepId":"bd14aca8db02672f39ecac5c","sortOrder":2},"decorative_paragraph_730209127583047":{"type":"Decorative Paragraph","value":"Just give us a moment","width":12,"stepId":"bd14aca8db02672f39ecac5c","sortOrder":3},"decorative_header_148930010811201":{"type":"Decorative Header","value":"When are you looking to get started?\n","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"a71db1b161313a5e5111a31b","margins":{"marginBottom":5}},"buttons_800647576786751":{"type":"Buttons","validationRules":{"required":true},"label":"Urgency of work","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"ASAP","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"This Month ","id":"8520042178329cb66678244d","image":null},{"text":"Next Month ","image":null,"id":"a2ffadfbfd6d110e4f76dd34"},{"text":"The Future","image":null,"id":"3535bfbbcb899687730d4bbc"}],"stepId":"a71db1b161313a5e5111a31b","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":27},"helperText":""},"decorative_paragraph_468530557701446":{"type":"Decorative Paragraph","value":"Almost done 🎉","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":1},"decorative_header_548854553348120":{"type":"Decorative Header","value":"We have evaluated your property, how would you like to get your quote?\n","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"f5b33db1e499f8ace205db3c","margins":{"marginBottom":5}},"buttons_675892903456860":{"type":"Buttons","validationRules":{"required":true},"label":"preferred contact method","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"options":[{"text":"Phone Call","id":"4538c1b5d2e2a8b4633b45a6","image":null},{"text":"Text / SMS","id":"8520042178329cb66678244d","image":null},{"text":"Free Site Visit","image":null,"id":"a2ffadfbfd6d110e4f76dd34"}],"stepId":"f5b33db1e499f8ace205db3c","sortOrder":2,"hideLabel":true,"imageStyles":{"rt_width":27},"helperText":"Let us know your preffered way to receive your quote."},"decorative_header_514410199652513":{"type":"Decorative Header","value":"Thanks! Whats the best number to reach you on?","width":12,"step":5,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"0fff190f35bbac3dd6124226"},"phone_285082054665390":{"type":"Phone","label":"phone number","width":12,"margins":{"marginBottom":0},"step":5,"sortOrder":2,"helperText":"","stepId":"0fff190f35bbac3dd6124226","defaultCountryFormat":"gb"},"decorative_header_854697429333428":{"type":"Decorative Header","value":"Are you the property owner?\n","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"04ce757ec7d21b49a3e7b0fd","margins":{"marginBottom":5}},"buttons_708218994633586":{"type":"Buttons","validationRules":{"required":false},"label":"Are you the property owner?","width":12,"multiple":false,"buttonStyle":{"rt_buttonsPerRow":2,"rt_buttonsPerRowMobile":1,"buttonsType":"Rectangle","spacing":20,"showControls":"Yes","rt_compactLayoutOnMobile":"Yes"},"imageStyles":{},"options":[{"text":"Yes","id":"7fbc4700a08a9d2c603ab194"},{"text":"No","id":"b0e102a4d4bd0bb247e4f501"}],"stepId":"04ce757ec7d21b49a3e7b0fd","sortOrder":2,"hideLabel":true},"decorative_paragraph_85003042939704":{"type":"Decorative Paragraph","value":"Only Takes 30 seconds ⏱️","width":12,"stepId":"2d95de6cbf33867267a18be6","sortOrder":1,"location":"footer"},"decorative_header_267171165888753":{"type":"Decorative Header","value":"Please Explain What You Need","width":12,"step":2,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"bold"},"stepId":"42ee9fdf47cdf33c051fb399","margins":{"marginBottom":5}},"text_299670086843000":{"type":"Text","label":"What Service Do You Need?","width":12,"stepId":"42ee9fdf47cdf33c051fb399","sortOrder":2,"validationRules":{"required":true}},"zipcode_548017040149049":{"type":"Zipcode","label":"What is your post code?","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"acd45227cac332d443c4e1db","sortOrder":3,"helperText":"Your post code information ensures that quotes are as accurate as possible for your area."}},"options":{"numberOfSteps":5,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":false,"variant":"line","position":"formTop","circles_size":10,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"Get Prices","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"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":30,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#1cbd5e","bodyTextColor":"#343434","parentContainerBackgroundType":"color","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":20,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","inputTextColor":"#000000","defaultFont":"Montserrat","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":"Montserrat","rt_buttonFontSize":15,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#FFFFFF","rt_buttonTextColor":"#343434","rt_buttonBorderColor":"#DADADA","rt_buttonBorderColorSelected":"primary","inputLabelFont":"Montserrat","inputFontSize":16,"continueSubmitButtonFontSize":15,"continueSubmitButtonFont":"Montserrat","canvasSetup":"minimal"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":""}],"actionOnSubmit":"redirect","captureSystemDetails":false,"analyticsSettings":{"facebook":{"pixelId":"1101976974830665"}}},"ownedByUser":"66a01e87790f9c000b349ce4","personalisation":{"form_related_to":"Roofing"},"created":"2024-11-17T12:35:18.902Z","__v":0,"lastEdited":"2025-05-24T07:37:38.514Z","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1748072263/growform-production/form-screenshots/6739e3069dcbd1000b9361dd.png","leadsCount":36,"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' + '