# Issue with Form Builder widget

**URL:** <https://community.elfsight.com/t/issue-with-form-builder-widget/133245>\
**Category:** General Questions\
**Tags:** form-builder\
**Created:** [July 24, 2025, 1:57pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245 "2025-07-24T13:57:38Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 24, 2025, 1:57pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/1 "2025-07-24T13:57:38Z")

</div>

**Hi Max,**

Sorry to bother you again. I’ve come across a new issue: I have the widget twice on one page. The widget at the top of the page works fine, but the one at the bottom unfortunately doesn’t.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 24, 2025, 2:06pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/3 "2025-07-24T14:06:43Z")

</div>

Hi there, @user8320 👋

Could you please send me a link to the page, where the issue occurs?

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 24, 2025, 2:21pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/4 "2025-07-24T14:21:40Z")

</div>

Hi Max,

There’s nothing visible on the front end and the widget works fine overall. However, I only receive the unique number in the email from the widget at the top of the page, but not from the one at the bottom. The widget is on MacFixers.nl.

function formatDateTime() {  
const now = new Date();

const day = String(now.getDate()).padStart(2, ‘0’);  
const month = String(now.getMonth() + 1).padStart(2, ‘0’);  
const minutes = String(now.getMinutes()).padStart(2, ‘0’);  
const seconds = String(now.getSeconds()).padStart(2, ‘0’);

return `${day}${month}${minutes}${seconds}`;  
}

const date = formatDateTime();  
widget.setFieldValue(‘[rmo-nummer]’, date);

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 24, 2025, 2:58pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/5 "2025-07-24T14:58:11Z")

</div>

Got it, thanks!

This feature doesn’t work for the bottom form because it’s using the same widget as the top form. To make it work properly for the bottom form, you’ll need to create a separate widget.

For example, you can duplicate the top form, and the copy will work fine since it will have a different installation code:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/6/5/651b13486c66081047c5d5d925d67a3713fc5c25.png)

  

Please try it out and let me know if it helped 🙂

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 24, 2025, 3:08pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/6 "2025-07-24T15:08:01Z")

</div>

Hi Max,

I’ve already tried that, but unfortunately it doesn’t work either.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 24, 2025, 3:10pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/7 "2025-07-24T15:10:08Z")

</div>

Got it, thanks!

Could you please try to add another (duplicated) widget to your website again, so that our devs would test things?

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 24, 2025, 3:47pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/8 "2025-07-24T15:47:35Z")

</div>

Hi Max,  
I’ve placed two different (copied) widgets on the homepage.

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 24, 2025, 3:56pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/9 "2025-07-24T15:56:59Z")

</div>

It would be preferable if this could be done with a single widget, to keep future adjustments simple.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 24, 2025, 3:58pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/10 "2025-07-24T15:58:40Z")

</div>

Got it, thank you so much!

I’ve shared this issue with the dev team and will update you once I have any news 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 28, 2025, 2:09pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/11 "2025-07-28T14:09:50Z")

</div>

Thank you for waiting!

Please try to replace the installation code for the 2nd widget with this code and let me know if it helped 🙂

```auto
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.min.js"></script>
<style>
    #elfsight-app {
        width: 1px;
        min-width: 100%;
				min-height: 1px;
    }
</style>
<iframe id="elfsight-app" onload="iFrameResize({ log: false, checkOrigin: false }, '#elfsight-app');" src="https://sandbox.elfsightcdn.com/3075fb91-f0d6-419f-ae7f-860cad841f68" frameborder="0">
</iframe>

```

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 28, 2025, 2:39pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/12 "2025-07-28T14:39:40Z")

</div>

Hey Max,  
I made a small change so that it now shows the “non-copied” widget, and it seems to be working.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/8/d/8d9e4af34781eb429b4bca8fba44942028af5773.png)

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 28, 2025, 2:46pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/13 "2025-07-28T14:46:47Z")

</div>

Oh, that’s great!

If anything else comes up, we’ll be happy to help 🙂

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 28, 2025, 2:50pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/14 "2025-07-28T14:50:28Z")

</div>

But I noticed it had a negative impact on my PageSpeed Insights score, so I’ve removed it for now.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 28, 2025, 2:54pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/15 "2025-07-28T14:54:24Z")

</div>

Did the page speed also drop with the code I shared (for the copied widget)?

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 30, 2025, 10:48am UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/16 "2025-07-30T10:48:03Z")

</div>

Hi Max,

Sorry for my late reply. Yes, it’s the same with the original code. That’s because it’s currently being loaded as an iframe. This isn’t ideal for your page speed and also doesn’t look as nice in this case.

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 30, 2025, 10:55am UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/17 "2025-07-30T10:55:37Z")

</div>

Okay, I’ll discuss with the devs if anything can be done with it 🙂

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 31, 2025, 11:32am UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/18 "2025-07-31T11:32:01Z")

</div>

Hi there, @user8320 👋

We’ve adjusted [handling of the JS codes](https://community.elfsight.com/t/forms-widgetapi-issue-fixed/134230) and now everything should be working fine without iframes. Could you please double-check it?

---

<div class="post-metadata">

**Author:** ![user8320](https://avatars.discourse-cdn.com/v4/letter/u/8e8cbc/32.png) [@user8320](https://community.elfsight.com/u/user8320)\
**Post date:** [July 31, 2025, 12:05pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/19 "2025-07-31T12:05:33Z")

</div>

Yes, that’s perfect. Thank you very much!

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [July 31, 2025, 12:06pm UTC](https://community.elfsight.com/t/issue-with-form-builder-widget/133245/20 "2025-07-31T12:06:55Z")

</div>

Awesome, you’re always welcome 🙂
