# Form emails work on page but not modal

**URL:** <https://forums.realmacsoftware.com/t/form-emails-work-on-page-but-not-modal/53140>\
**Category:** Elements\
**Created:** [December 10, 2025, 7:33pm UTC](https://forums.realmacsoftware.com/t/form-emails-work-on-page-but-not-modal/53140 "2025-12-10T19:33:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nate](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Nate](https://forums.realmacsoftware.com/u/Nate)\
**Post date:** [December 10, 2025, 7:33pm UTC](https://forums.realmacsoftware.com/t/form-emails-work-on-page-but-not-modal/53140/1 "2025-12-10T19:33:14Z")

</div>

I have the same form in multiple places on my site. When I use it in a modal I get error messages but when I use it on the “Contact” page it works fine, except that the emails are marked as “read” when I see them in my gmail. I use a google workspace business account and have the app password set up so the form works fine except via the modal. The modal is triggered by the “Schedule Appointment” button in the top bar, footer, or banner.

Here is my site: [https://harrisonfamilydentistry.com](https://harrisonfamilydentistry.com)

Cloud Link: [Link Removed]

Can you help me figure out why the form fails in the modal and also why the emails are marked as “read” when gmail receives them? Thanks so much!

---

<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 11, 2025, 11:32am UTC](https://forums.realmacsoftware.com/t/form-emails-work-on-page-but-not-modal/53140/2 "2025-12-11T11:32:28Z")

</div>

Hi @Nate

First thing to check, on the Contact page where you say the form is working, you have your username set as the below:

 ![contact-form-username-1](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/4/54777615216cf68d8635ac138abcaf26bd3ba044.png)

However, on all the modals, you have it set as:

 ![contact-form-username-2](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/a/3ae5c42d87e79e24557c8778f984b9fbbaa34163.png)

I noticed that you have the same Gmail App Password between the two usernames. That might be ok, but maybe Google doesn’t like that.

Can you try changing the username on the modals to the same as you have on the Contact page and see if that works?

Also, you’ll probably want to change your Gmail App Password that you are using for the form, as you’ve now publicly posted it on the public forum for 16 hours, so anybody that’s checked your project file has it.

If that doesn’t work, let us know and we can continue with the troubleshooting. If you can check the below location on your web server for the log files, that might help us troubleshoot too:

`rw/elements/com.realmac.corepack/api/logs`

---

<div class="post-metadata">

**Author:** ![Nate](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@Nate](https://forums.realmacsoftware.com/u/Nate)\
**Post date:** [December 12, 2025, 9:15pm UTC](https://forums.realmacsoftware.com/t/form-emails-work-on-page-but-not-modal/53140/3 "2025-12-12T21:15:37Z")

</div>

Thanks so much! That worked great. I updated all my Google app passwords. Thanks for the heads up!

Nate
