# Obscure Bug with Forms

**URL:** <https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585>\
**Category:** Elements\
**Created:** [May 15, 2025, 8:07pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585 "2025-05-15T20:07:15Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 15, 2025, 8:07pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/1 "2025-05-15T20:07:15Z")

</div>

@dan So I have been banging my head against the wall for a couple of days trying to figure out why the contact form on my Coming Soon website would not work.

Looks like you cannot have a form inside a modal, just does not work. But if I move it out of the modal it works great. I would hope that this is something that can be fixed as it is handy on a one-page site to be able to put the form in a modal.

Is this a known problem?

Also, it would be nice if there was a way of HIDING a modal, currently because there are no Layout Settings in a modal this is not possible. I do have a workaround for this by putting the modal in a container and then hiding it.

---

<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:** [May 16, 2025, 11:11am UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/2 "2025-05-16T11:11:16Z")

</div>

That sounds like something we’ll need to fix in the Components!

_CC’ing in @ben for his input…_

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [May 16, 2025, 12:29pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/3 "2025-05-16T12:29:31Z")

</div>

> [@handshaper](#):
>
> Looks like you cannot have a form inside a modal, just does not work. But if I move it out of the modal it works great.

Hmm, this sounds odd. It should work. Could I get your project, just to be sure I can replicate and fix the issue.

> [@handshaper](#):
>
> would be nice if there was a way of HIDING a modal

If I understand you correctly: you want to hide the Modal trigger across different devices? If so, you’re correct in that you can’t do that directly on the modal. You’d have to do as you have done, and place it inside a Flex/Container and hide that instead 🙂

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 16, 2025, 5:06pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/4 "2025-05-16T17:06:42Z")

</div>

> [@ben](#):
>
> If I understand you correctly: you want to hide the Modal trigger across different devices? If so, you’re correct in that you can’t do that directly on the modal. You’d have to do as you have done, and place it inside a Flex/Container and hide that instead 🙂

No, in my case I simply want to hide it while I was testing stuff, or when I ran into a problem. But putting it in a flex or container works fine so it is not a big issue.

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 16, 2025, 5:08pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/5 "2025-05-16T17:08:37Z")

</div>

> [@ben](#):
>
> Hmm, this sounds odd. It should work. Could I get your project, just to be sure I can replicate and fix the issue.

@Ben The site is live at [https://mair.surf/](https://mair.surf/), but I can send the project as well, can I just email it to Dan?

---

<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:** [May 16, 2025, 6:52pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/6 "2025-05-16T18:52:08Z")

</div>

Got it, and will share it with @ben, he’ll no doubt dig into this on Monday for you 😊

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 16, 2025, 7:03pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/7 "2025-05-16T19:03:01Z")

</div>

Mahalo!

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 30, 2025, 2:20am UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/8 "2025-05-30T02:20:05Z")

</div>

> [@dan](#):
>
> Got it, and will share it with @ben, he’ll no doubt dig into this on Monday for you 😊

@dan Did anything happen on this front with regards to putting a form inside a modal?

I would sure like to do it on this site. BTW, the site has been changed to move the form to the main page as I did not want to leave it with no working form. I can switch it back if you or Ben need to see the problem.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [May 30, 2025, 12:56pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/9 "2025-05-30T12:56:08Z")

</div>

I have been investigating this one today, and I ran in to a bug in [Elements](https://elementsapp.io/) that could be related — I can’t move forward with this until that bug is fixed.

Once that’s fixed I’ll come back and continue with this Form in modal issue 🙂

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [May 30, 2025, 5:16pm UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/10 "2025-05-30T17:16:35Z")

</div>

Awesome, Ben, looking forward to seeing the solution.

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [June 4, 2025, 10:13am UTC](https://forums.realmacsoftware.com/t/obscure-bug-with-forms/47585/11 "2025-06-04T10:13:20Z")

</div>

This one should be fixed in the next beta 🙂
