# HTML Error Issue

**URL:** <https://forums.realmacsoftware.com/t/html-error-issue/53084>\
**Category:** Elements\
**Created:** [December 9, 2025, 3:08am UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084 "2025-12-09T03:08:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 3:08am UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/1 "2025-12-09T03:08:42Z")

</div>

RapidWeaver Elements 1.5.7 (23959)

Helo,

I have an HTML component in my webpage. The HTML is set to display an embedded Google form in the web page. The page is displayed and works flawlessly in local mode, but when published, I get the following error:

HTML Code

Error

var RWElements={};

RWElements.rw9D4AF8FE\_B5B0\_43C7\_B615\_9632D9FB9805 = {};  
RWElements.rw9D4AF8FE\_B5B0\_43C7\_B615\_9632D9FB9805 = (function(componentId) {

console.log(`Running JS for element with id: `)

return componentId;})(RWElements.rw9D4AF8FE\_B5B0\_43C7\_B615\_9632D9FB9805);

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 3:10am UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/2 "2025-12-09T03:10:26Z")

</div>

HTML Code

```auto
<div id="{{id}}" style="width: 100%; height: 100vh;" class="p-sm text-lg text-center text-brand-500"> 

<iframe src=" https://docs.google.com/forms/d/e/1FAIpQLSfI7upCSXqbw8KKbntRN2TuPBD4zVsv6vt7jQfIDMXnLgj6rA/viewform?usp=header " width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

</div>

```

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 3:10am UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/3 "2025-12-09T03:10:50Z")

</div>

HTML CODE

```auto
 <div id="{{id}}" style="width: 100%; height: 100vh;" class="p-sm text-lg text-center text-brand-500"> 

<iframe src=" https://docs.google.com/forms/d/e/1FAIpQLSfI7upCSXqbw8KKbntRN2TuPBD4zVsv6vt7jQfIDMXnLgj6rA/viewform?usp=header " width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

</div> 

```

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [December 9, 2025, 12:32pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/4 "2025-12-09T12:32:12Z")

</div>

Try removing the div wrapper, so it’s just the code google gives you…

```auto
<iframe src=" https://docs.google.com/forms/d/e/1FAIpQLSfI7upCSXqbw8KKbntRN2TuPBD4zVsv6vt7jQfIDMXnLgj6rA/viewform?usp=header " width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

```

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 1:59pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/5 "2025-12-09T13:59:26Z")

</div>

Thank you for your fast reply,

I tried that, and I also tried multiple solutions like creating a new page, creating a new Google Form, etc…. Unfortunately, nothing worked. Could this be a publishing bug?

Mustafa A. Mohdher

> **[My Home Page](http://www.mohdher.com)**
>
> Personal profile website

[mmohdher@me.com](mailto:mmohdher@me.com)  
+966505542239

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [December 9, 2025, 2:13pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/6 "2025-12-09T14:13:33Z")

</div>

Can you link to the page where the Google Form is not working? It would probably help to view the browser’s dev console to see if there are any errors.

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 2:39pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/7 "2025-12-09T14:39:22Z")

</div>

The website is live. The links below is for the 3 pages that have different google forms embedded in them.  
The main website [https://zairesa.com/](https://zairesa.com/)  
Page 1 with embedded google form [https://zairesa.com/BuyOrRent/](https://zairesa.com/BuyOrRent/)  
Page 2 with embedded google form [https://zairesa.com/OwnerRent/](https://zairesa.com/OwnerRent/)  
Page 3 with embedded google form [https://zairesa.com/Marketing/](https://zairesa.com/Marketing/)

Also the page with a built in google form without any customization [https://zairesa.com/UntitledPage00/](https://zairesa.com/UntitledPage00/)

Thank you

Mustafa Mohdher

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [December 9, 2025, 4:57pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/8 "2025-12-09T16:57:03Z")

</div>

Server config issue maybe.

If I visit the full URL path the pages work fine:

[https://zairesa.com/BuyOrRent/index.php](https://zairesa.com/BuyOrRent/index.php)

[https://zairesa.com/OwnerRent/index.php](https://zairesa.com/OwnerRent/index.php)

[https://zairesa.com/Marketing/index.php](https://zairesa.com/Marketing/index.php)

[https://zairesa.com/UntitledPage00/index.php](https://zairesa.com/UntitledPage00/index.php)

Looks like you are on an Apache server. Try adding the below to your .htaccess file to see if that clears it up.

`DirectoryIndex index.php index.html`

If not your web host would need to check the server’s error log to see why your server is not serving the directory’s index file. If you want to provide your project file via Elements Cloud, we can take a look at those specific pages to see if there’s something out of the ordinary on them specifically.

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 9, 2025, 6:29pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/9 "2025-12-09T18:29:42Z")

</div>

I just wanted to let you know that your suggested solution has worked.

Thank you,

Mustafa A. Mohdher

> **[My Home Page](http://www.mohdher.com)**
>
> Personal profile website

[mmohdher@me.com](mailto:mmohdher@me.com)  
+966505542239

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [December 10, 2025, 12:52pm UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/10 "2025-12-10T12:52:18Z")

</div>

Nice, happy to hear it worked. 🙂

If you encounter additional troubles let us know.

---

<div class="post-metadata">

**Author:** ![mmohdher](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/mmohdher/32/28129_2.png) [@mmohdher](https://forums.realmacsoftware.com/u/mmohdher)\
**Post date:** [December 12, 2025, 6:56am UTC](https://forums.realmacsoftware.com/t/html-error-issue/53084/11 "2025-12-12T06:56:58Z")

</div>

Thank you for your continuous support.
