# Totally wrong form being published to website

**URL:** <https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489>\
**Category:** Blog, Website & Page Publishing\
**Tags:** forms, landing-pages\
**Created:** [February 20, 2025, 4:51pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489 "2025-02-20T16:51:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RMobley](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RMobley](https://community.hubspot.com/u/RMobley)\
**Post date:** [February 20, 2025, 4:51pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489/1 "2025-02-20T16:51:45Z")

</div>

Hi there,

I have a landing page ive created that includes a form. The form is a clone of a different form with slightly different parameters/contents in the form. When I view the landing page in the page editor the form looks correct, when i preview the page in hubspot, the form looks correct, but when I publish the page, the form on the published live page is the originial form, not the clone/updated one.

I’ve tried cloning the page without a form attached and readding the cloned form, no luck same result. I’ve removed the form and readded it on the original page as well, same result.

I cannot figure out what is causing the page to display the original form on the live page, but no where else in hubspot itself.

---

<div class="post-metadata">

**Author:** ![pashairshad](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pashairshad/32/59425_2.png) [@pashairshad](https://community.hubspot.com/u/pashairshad)\
**Post date:** [February 20, 2025, 5:01pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489/2 "2025-02-20T17:01:21Z")

</div>

It sounds like (at first) this is a cache issue. I’m going to assume this is using HubSpot’s COS.  
Initial things to try:

#### **1. Hard Refresh & Cache Issues**

- **Test:** Open the published page in an incognito/private window or a different browser.
- **Test:** Manually append a cache-bypass parameter:
  - Example: `https://yourpage.com/?hsDebug=true`
  - If this forces the correct form to appear, then HubSpot or your browser was serving a cached version.

#### **2. HubSpot’s Form Module Not Updating**

- **Issue:** Even though you updated the form inside HubSpot, the page may still reference an older version.
- **Fix:** Try **removing the entire form module** , save and publish the page **without any form** , then add the form again and republish.

#### **3. Check the Form ID in Page Source**

- **Issue:** Your landing page may still be referencing the old form’s ID.
- **Test:**
  - Right-click on the published page and **Inspect Element** (`Ctrl + Shift + I` on Windows, `Cmd + Option + I` on Mac).
  - Search (`Ctrl + F`) for **“form-id”** and compare it to the ID of your cloned form inside HubSpot.
  - If the **wrong form ID** is appearing, the module isn’t updating properly.

- **Fix:**
  - Delete the form module, republish without any form, then add it back and republish again.

#### **4. Embedded Form vs. HubSpot Form Module**

- **Issue:** If you’re using an **embedded JavaScript form** (`<script>` tag), it may still be pointing to the old form.
- **Test:**
  - If your form is embedded via **HubSpot’s embed code** , check that it’s pulling the correct form.

- **Fix:**
  - Delete the embed code, republish, then re-add the new embed code.

#### **5. HubSpot CDN Delay**

- **Issue:** HubSpot uses a **CDN (Content Delivery Network)** that caches live page versions.
- **Fix:**
  - **Make a small change to the page’s content** (like adding a space in the text), then **save and republish**.
  - This often forces HubSpot’s servers to refresh the live version.

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [February 20, 2025, 5:02pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489/3 "2025-02-20T17:02:54Z")

</div>

Hi @RMobley

Sounds like a caching issue to me.

Have you tried looking at the published LP with the new form in an incognito window?

Frank

---

<div class="post-metadata">

**Author:** ![RMobley](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RMobley](https://community.hubspot.com/u/RMobley)\
**Post date:** [February 20, 2025, 5:09pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489/4 "2025-02-20T17:09:27Z")

</div>

I have indeed tried opening on an incognito browser and clearing my cache, shouldve mentioned that. Same issue.

---

<div class="post-metadata">

**Author:** ![RMobley](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RMobley](https://community.hubspot.com/u/RMobley)\
**Post date:** [February 20, 2025, 5:40pm UTC](https://community.hubspot.com/t/totally-wrong-form-being-published-to-website/126489/5 "2025-02-20T17:40:11Z")

</div>

I ended up creating a totally new form instead of using the cloned one and that solved my issues.
