Google v.2 checkbox reCaptcha on Brevo form in Squarespace giving a script error

I’ve created a form with google v.2 checkbox on my brevo form that I want to embed into my squarespace website. It seems to work in Brevo, and when I copy the link and paste it into a new browser, everything seems to be fine.

https://ec48ade7.sibforms.com/serve/MUIFAIcsEfnPEltzONpu4BFC3aG6IFfG_QYcTK-rRy3C0VUgrHStkvPGh5Ow_ZjoyY7XbWn9kAgwhjxf_6e0sGSPJASHrYXft9S4MOdto3dT8eMe70m86cNi3wf99Ip_C54Y4VocFHbpxSrNAeitEg6A1E4OnTKID-MCoKqF-1w1eA7llaKfP39djaVN7MQ4QqSssYycSdF84Ea8

The problem comes when copy the HTML into my Squarespace website. I am getting an error that says: « Script Disabled ». (see screenshot below)

When people submit the form on the website, you can click submit, but then a blank window pops up and stays blank. If I copy the link into a new browser window and load it, it goes to my form in Brevo, not in my webpage. It does seem to be accepting the information on the back end though.

Here’s the code for my Brevo form.

@font-face { font-display: block; font-family: Roboto; src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff") } @font-face { font-display: fallback; font-family: Roboto; font-weight: 600; src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff") } @font-face { font-display: fallback; font-family: Roboto; font-weight: 700; src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff") } #sib-container input:-ms-input-placeholder { text-align: left; font-family: Helvetica, sans-serif; color: #c0ccda; } #sib-container input::placeholder { text-align: left; font-family: Helvetica, sans-serif; color: #c0ccda; } #sib-container textarea::placeholder { text-align: left; font-family: Helvetica, sans-serif; color: #c0ccda; } #sib-container a { text-decoration: underline; color: #2BB2FC; }
Your subscription could not be saved. Please try again.
Your subscription has been successful.

Get retreat planning insights delivered.

Monthly tips on creating transformative trips at sea, exclusive cruise industry updates, and expert planning advice for coaches and consultants, straight to your inbox.

First Name
            <div class="entry__field">
              <input class="input " maxlength="200" type="text" id="FIRSTNAME" name="FIRSTNAME" autocomplete="off" placeholder="example: Casey" data-required="true" required />
            </div>
          </div>

          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:Helvetica, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
        </div>
      </div>
    </div>
    <div style="padding: 8px 0;">
      <div class="sib-input sib-form-block">
        <div class="form__entry entry_block">
          <div class="form__label-row form__label-row--horizontal">
            <label class="entry__label" style="font-weight: 700; text-align:left; font-size:16px; text-align:left; font-weight:700; font-family:Helvetica, sans-serif; color:#3c4858;" for="EMAIL" data-required="*">Email Address</label>

            <div class="entry__field">
              <input class="input " type="text" id="EMAIL" name="EMAIL" autocomplete="off" placeholder="example: abc@xyz.com" data-required="true" required />
            </div>
          </div>

          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:Helvetica, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
        </div>
      </div>
    </div>
    <div style="padding: 8px 0;">
      <div class="sib-captcha sib-form-block">
        <div class="form__entry entry_block">
          <div class="form__label-row form__label-row--horizontal">
            <script>
              function handleCaptchaResponse() {
                var event = new Event('captchaChange');
                document.getElementById('sib-captcha').dispatchEvent(event);
              }
            </script>
            <div class="g-recaptcha sib-visible-recaptcha" id="sib-captcha" data-sitekey="6Lc09K4qAAAAAKjyl0lADBaJvasUv_m3Ya_mvukk" data-callback="handleCaptchaResponse" style="direction:ltr"></div>
          </div>
          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:Helvetica, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
        </div>
      </div>
    </div>
    <div style="padding: 8px 0;">
      <div class="sib-form-block" style="text-align: left">
        <button class="sib-form-block__button sib-form-block__button-with-loader" style="font-size:16px; text-align:left; font-weight:700; font-family:Helvetica, sans-serif; color:#FFFFFF; background-color:#df6a3e; border-radius:3px; border-width:0px;" form="sib-form" type="submit">
          <svg class="icon clickable__icon progress-indicator__icon sib-hide-loader-icon" viewBox="0 0 512 512">
            <path d="M460.116 373.846l-20.823-12.022c-5.541-3.199-7.54-10.159-4.663-15.874 30.137-59.886 28.343-131.652-5.386-189.946-33.641-58.394-94.896-95.833-161.827-99.676C261.028 55.961 256 50.751 256 44.352V20.309c0-6.904 5.808-12.337 12.703-11.982 83.556 4.306 160.163 50.864 202.11 123.677 42.063 72.696 44.079 162.316 6.031 236.832-3.14 6.148-10.75 8.461-16.728 5.01z" />
          </svg>
          GET RETREAT PLANNING TIPS
        </button>
      </div>
    </div>

    <input type="text" name="email_address_check" value="" class="input--hidden">
    <input type="hidden" name="locale" value="en">
  </form>
</div>

Can anyone help me figure out how to get the form to stop going to a blank page when I click submit?

Thanks!