/* growform client2 bundle.url: https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js resolve.source: kv resolve.at: 2025-10-10T20:58:35.342Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "6899c7434fb53d94865f593d"; var FORM_BUNDLE_URL = "https://assets.growform.co/ef442a3-mggk13f0/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"6899c7434fb53d94865f593d","options":{"progressBar":{"enable":true,"line_showPercent":"Yes","line_enableStripes":"No","line_height":20},"continueButton":{"continueText":"Next","submitText":"Continue","backText":"Back"},"customStyles":{"width":{"unit":"px","value":580},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":null,"imageInitialWidth":null,"imageHeight":null,"imageWidth":null,"imageUrl":null},"headerMarginTop":10,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff7500","buttonColorSelected":"#ffa659","buttonBorderColorSelected":"#ff7500","footerMarginBottom":20,"errorColor":"#ff4e4e","buttonColor":"#ff7500","buttonTextColor":"#ffffff","inputLabelColor":"#a3a3a3","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":"Inherit","rt_buttonFontSize":16,"rt_buttonColor":"#FFFFFF","rt_buttonColorSelected":"#edf5f2","rt_buttonTextColor":"#000000","rt_buttonBorderColor":"#53cd9d","rt_buttonBorderColorSelected":"#53cd9d","primaryColor":"#001f54","bodyTextColor":"#001f54","inputLabelFont":"Poppins","inputFontSize":16,"continueSubmitButtonFontSize":16,"fullModeBackgroundColor":"#ffffff","canvasSetup":"minimal","rt_controlsColor":"#53cd9d","continueButtonColor":"#ffb703","continueButtonTextColor":"#001f54","progressColor":"#53cd9d","radioButtonAndCheckboxColor":"#53cd9d","inputBackgroundColor":"#ffffff"},"localization":{"dateFormat":"DD/MM/YYYY"},"exportTransparentBackground":false,"customScript":"","customRedirectUrls":[{"url":"/heating-plumbing/hot-water-cylinder-thank-you","conditionalLogic":null}],"additionalInfo":null,"footer":null,"analyticsSettings":{"google_analytics":{"trackingId":"G-VLQFTV8DQ3"}},"actionOnSubmit":"redirect","captureSystemDetails":true},"fields":{"Decorative Header_52363373085874":{"type":"Decorative Header","value":"Thanks for your enquiry!","width":12,"step":"complete","sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"margins":{"marginTop":20},"stepId":"complete"},"Decorative_Paragraph_194067845817258":{"type":"Decorative Paragraph","value":"Thanks for getting in touch. We'll be in contact soon with next steps.","width":12,"step":"complete","sortOrder":2,"margins":{"marginBottom":60},"stepId":"complete"},"decorative_header_607140405655053":{"type":"Decorative Header","value":"What hot water cylinder work do you need a quote for?","width":12,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"3d4deb0e883e62cdd7b739ef","margins":{"marginBottom":5}},"buttons_816870481132837":{"type":"Buttons","validationRules":{"required":true},"label":"Timescale","width":12,"hideLabel":true,"multiple":false,"options":[{"text":"I'm flexible","image":null,"id":"acb6f96c7e6536346eeee702"},{"id":"bf329cce0d496be5e65375d4","text":"ASAP"},{"id":"e9d82fe2cf65c19176e39579","text":"Within 2 Weeks"},{"id":"8c26b425c1141f1e71f0e9d4","text":"Within 1 Month"},{"text":"I'm budgeting / researching","image":null,"id":"1e479b24a75e2088cbfe4837"}],"step":null,"sortOrder":2,"helperText":"","buttonStyle":{"buttonsPerRow":"4","buttonsType":"Rectangle","showControls":"Yes"},"stepId":"671e00c43b5004bafaf73ea5"},"decorative_header_921961265909505":{"type":"Decorative Header","value":"When would you like the job to start?","width":12,"sortOrder":1,"fieldStyle":{"fontSize":{"value":19,"unit":"px"},"fontWeight":"Bold"},"stepId":"671e00c43b5004bafaf73ea5","margins":{"marginBottom":5}},"decorative_header_804667951436907":{"type":"Decorative Header","value":"Just enter your postcode to get started","width":12,"sortOrder":1,"stepId":"3ca12ae998ad92ff46676776"},"zipcode_11147494392342":{"type":"Zipcode","label":"Enter your postcode","zipcodeFieldFormat":"postcode_uk","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":2,"hideLabel":false,"helperText":"Your Postcode ensures we find extension professionals in your area"},"decorative_header_392694754371722":{"type":"Decorative Header","value":"What is your email address?\n\n","width":12,"sortOrder":1,"stepId":"e6ad34b374782c1d8e4e2691"},"email_13853227102931":{"type":"Email","label":"Your email address","width":12,"stepId":"e6ad34b374782c1d8e4e2691","sortOrder":2,"useZerobounce":true,"helperText":"Some tradespeople prefer to provide quotes over email"},"decorative_header_789661206873244":{"type":"Decorative Header","value":"Hold on - we're finding tradespeople that match your needs!","width":12,"sortOrder":1,"stepId":"90fa46fdd6d3c1000dfc15f1"},"decorative_loading animation_265116418565413":{"type":"Decorative Loading Animation","value":"This does not have a value","loaderOptions":{"color":"#0496ff","type":"Bounce","size":100,"redirectAfter":"3s"},"width":12,"stepId":"90fa46fdd6d3c1000dfc15f1","sortOrder":2},"decorative_header_398924624624104":{"type":"Decorative Header","value":"Your number is safe with us","width":12,"sortOrder":1,"stepId":"f492ba789af036c3da176abe"},"decorative_header_335646521899732":{"type":"Decorative Header","value":"What is your name?","width":12,"sortOrder":1,"stepId":"6a4c45b4e3c47809e9fda863"},"phone_866257994977464":{"type":"Phone","label":"What is your phone number?","width":12,"stepId":"f492ba789af036c3da176abe","sortOrder":2,"defaultCountryFormat":"gb","helperText":"Some trades prefer to provide quotes over the phone to get more details","showCountryCode":false,"useTwilioLookup":true},"name_370800522050503":{"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":false}}},"stepId":"6a4c45b4e3c47809e9fda863","sortOrder":2,"hidePrefix":true},"decorative_paragraph_142938971551726":{"type":"Decorative Paragraph","value":"By clicking “Continue” you are consenting to Checkatrade using the provided personal details to connect you with suitable tradespeople. For more information on how we process your personal data, see our. [Privacy Notice](https://www.checkatrade.com/privacy).\n","width":12,"stepId":"6a4c45b4e3c47809e9fda863","sortOrder":1,"location":"footer","fieldStyle":{"fontSize":{"value":12,"unit":"px"}}},"hidden_676490306630761":{"type":"Hidden","hiddenFieldName":"utm_source","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":3,"defaultValue":"organic"},"hidden_817606782536841":{"type":"Hidden","hiddenFieldName":"utm_medium","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":5},"hidden_884260156576402":{"type":"Hidden","hiddenFieldName":"utm_term","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":6},"hidden_889580585485605":{"type":"Hidden","hiddenFieldName":"utm_campaign","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":4},"hidden_633065972031058":{"type":"Hidden","hiddenFieldName":"lead_id","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":7},"checkboxes_488183109798879":{"type":"Checkboxes","label":"Marketing consent","width":"12","options":[{"text":"Send me exclusive discounts and occasional offers via email and SMS from WhatPrice. I can unsubscribe anytime.","id":"87e14d9193b51e7efa24eaf6"}],"stepId":"6a4c45b4e3c47809e9fda863","sortOrder":3,"hideLabel":true},"decorative_paragraph_27278163794498":{"type":"Decorative Paragraph","value":"Please give a short description of the job.","width":12,"stepId":"3d4deb0e883e62cdd7b739ef","sortOrder":2},"text_29299726485440":{"type":"Text","label":"E.g. Replace hot water tank located in airing cupboard.","width":12,"stepId":"3d4deb0e883e62cdd7b739ef","sortOrder":3,"multiline":true,"rows":5,"validationRules":{"required":true}},"hidden_360254020584594":{"type":"Hidden","hiddenFieldName":"FLG_LeadTypeName","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":8,"defaultValue":"Hot Water Cylinder"},"decorative_image_369173695490453":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750674375/uploads/rus2t3yhrhd6wczqhjag.png","width":12,"imageWidth":200,"imageHeight":50,"imageInitialHeight":50,"imageInitialWidth":200,"stepId":"3ca12ae998ad92ff46676776","sortOrder":2,"location":"footer","margins":{"marginTop":-10}},"decorative_image_431385266411114":{"type":"Decorative Image","value":"https://res.cloudinary.com/dqnjggegp/image/upload/v1750754323/uploads/w6rgpykl0ar7bh4o9x6b.png","width":12,"imageWidth":199,"imageHeight":53,"imageInitialHeight":53,"imageInitialWidth":199,"stepId":"6a4c45b4e3c47809e9fda863","sortOrder":3,"location":"footer","margins":{"marginTop":-10}},"decorative_paragraph_409618270451676":{"type":"Decorative Paragraph","value":"In partnership with","width":12,"stepId":"6a4c45b4e3c47809e9fda863","sortOrder":2,"location":"footer","fieldStyle":{"fontSize":{"value":12,"unit":"px"}}},"decorative_paragraph_873870306110277":{"type":"Decorative Paragraph","value":"In partnership with","width":12,"stepId":"3ca12ae998ad92ff46676776","sortOrder":1,"location":"footer","fieldStyle":{"fontSize":{"value":12,"unit":"px"}}}},"ownedByUser":"670d1672618fdb000b7a9c7d","formName":"PRODUCTION Hot Water Cylinder (Webhook)","personalisation":{"form_related_to":"Boiler Replacement"},"lastEdited":"2025-08-11T10:59:41.880Z","created":"2025-08-11T10:34:43.282Z","steps":[{"id":"3ca12ae998ad92ff46676776","name":"Postcode","sortOrder":1},{"id":"3d4deb0e883e62cdd7b739ef","name":"Job description","sortOrder":2},{"id":"671e00c43b5004bafaf73ea5","name":"Timescale","sortOrder":3},{"id":"90fa46fdd6d3c1000dfc15f1","name":"Loading animation","sortOrder":4,"conditionalLogic":null},{"id":"e6ad34b374782c1d8e4e2691","name":"Email","sortOrder":5,"conditionalLogic":null},{"id":"f492ba789af036c3da176abe","name":"Phone","sortOrder":6,"conditionalLogic":null},{"id":"6a4c45b4e3c47809e9fda863","name":"Name","sortOrder":7,"conditionalLogic":null}],"folderId":"67e1812684b61a000b6015aa","screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1754909903/growform-production/form-screenshots/6899c7434fb53d94865f593d.png","leadsCount":5,"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' + '