# New form component

**URL:** <https://forums.realmacsoftware.com/t/new-form-component/46808>\
**Category:** Elements\
**Created:** [March 20, 2025, 10:50pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808 "2025-03-20T22:50:29Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![destinations2see](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/destinations2see/32/27937_2.png) [@destinations2see](https://forums.realmacsoftware.com/u/destinations2see)\
**Post date:** [March 21, 2025, 5:13pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/42 "2025-03-21T17:13:27Z")

</div>

@ben : I think that the field validation is also a huge pitfall. If I leave the mail field empty, an error pops up, which is good,

 ![Bildschirmfoto 2025-03-21 um 18.00.09](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/b/1bf427ca96084573bf7ccd1c9f73109ef4a3120d.png)

But if I enter “[a@b.com](mailto:a@b.com)”, and then submit, nothing happens. No error message at all, but also no processing.

---

<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:** [March 21, 2025, 5:45pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/43 "2025-03-21T17:45:20Z")

</div>

> [@ben](#):
>
> Dan’s form example doesn’t include either the Success or Error components, so no content will be shown in either case.

I added these two components to the form to do my testing. I also removed the attachment component as I wanted to keep it simple. But none of this made any difference, the form was never successfully sent.

This morning I’ll create a new project with just the form so I can test it again. If it does not work I will send it over.

---

<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:** [March 21, 2025, 8:40pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/44 "2025-03-21T20:40:17Z")

</div>

> [@ben](#):
>
> If you’re still having issues I’d need either the project and/or a URL where your form is published to 🙂

@ben I decided to add the form to a simple site i have to see if it would work there. I also assumed you had to ensure that the page had the PHP suffix.

But I still could not get it to work, even though I have tested the same credentials in the past and they work just fine.

[Test Website](https://mair.design/)

The contact form is at the bottom of the page. It is just a single page site.

Am I understanding correctly that the only way to test the forms is on a published page, not a browser previewed one?

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 21, 2025, 8:45pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/45 "2025-03-21T20:45:15Z")

</div>

just tried that test website dont know if you got it,have you put a success and error bit on?

---

<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:** [March 21, 2025, 8:58pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/46 "2025-03-21T20:58:32Z")

</div>

@Godber Yes, I do have the error and success components on the form. And no there is no sign of an email, yet.

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 23, 2025, 5:19pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/47 "2025-03-23T17:19:20Z")

</div>

tried it with my gmail account iCloud account and my own domain account,none work

---

<div class="post-metadata">

**Author:** ![hsakols](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@hsakols](https://forums.realmacsoftware.com/u/hsakols)\
**Post date:** [March 23, 2025, 9:33pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/48 "2025-03-23T21:33:01Z")

</div>

I also want my form to work with gmail, but I’m having trouble. Could you give an example of the form settings to make sure I’m approaching this correctly?

---

<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:** [March 24, 2025, 4:48am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/49 "2025-03-24T04:48:50Z")

</div>

I have spent most of the day testing all of my email accounts with the contact form and I cannot get one of them to work successfully.

Hopefully, someone will figure out what is going on soon so we can get a working contact form. For now I will remove the contact form from my test site.

---

<div class="post-metadata">

**Author:** ![RussOggi255](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RussOggi255](https://forums.realmacsoftware.com/u/RussOggi255)\
**Post date:** [March 24, 2025, 8:30am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/50 "2025-03-24T08:30:58Z")

</div>

Can you post a link to your test site so I/we can have a look at what the problem might be?

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 24, 2025, 8:39am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/51 "2025-03-24T08:39:25Z")

</div>

I think hes deleted it but you can look at mine

> **[Contact Me](https://morris56.uk/page-16/)**

bearing in mind same credentials work fine in a classic form I have

---

<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:** [March 24, 2025, 9:18am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/52 "2025-03-24T09:18:08Z")

</div>

For those experiencing issues, please first make sure you’re using a compatible PHP version. You can check this by following the instructions in this post:

🔗 [New form component - #8 by bon](https://forums.realmacsoftware.com/t/new-form-component/46808/8)

Also, be sure to **re-publish all files** to ensure everything is up to date.

If you’re still having trouble, the best thing to do right now is to send your project over to myself or @dan so we can take a closer look.

Please keep in mind that this is **beta software** , so some issues are to be expected—especially with the first version of a big new feature like the Form components. We’re committed to making sure this works for everyone, but there will always be some kinks to iron out, especially with varying hosting setups and PHP versions 🙂

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 24, 2025, 10:57am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/53 "2025-03-24T10:57:42Z")

</div>

ive also noticed if you select the type section whether you pick text or email when published and click on the box both try to insert an email address

---

<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:** [March 24, 2025, 7:40pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/54 "2025-03-24T19:40:35Z")

</div>

Here is a link to the test site where I have added back the form. I also did the API check and I’m using the latest version of PHP available on my hosting service (8.3.16).

I’m using an email address that I know works on one of my older sites and that I regular get email through. So it should be working.

[Test Site](https://mair.design)

But it is not working for me.

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 24, 2025, 7:46pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/55 "2025-03-24T19:46:54Z")

</div>

nor me have yo tried filling in as the from email your own as in the one it goes to…if I do that I get the email from me to me hahaha

---

<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:** [March 24, 2025, 7:58pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/56 "2025-03-24T19:58:34Z")

</div>

Ah, I tried your idea and sure enough it worked. Although I did have to change the PORT number before it would work. I had been using 25, but it seems it should be set to 465. No idea why it only works if it is sending to the same address as the one used in the form. All other addresses do not work.

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 24, 2025, 8:02pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/57 "2025-03-24T20:02:01Z")

</div>

weird to say the least… I have it set in a foundry form and classic and works just fine

---

<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:** [March 24, 2025, 8:11pm UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/58 "2025-03-24T20:11:17Z")

</div>

Same here works perfectly in Foundry.

---

<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:** [March 25, 2025, 8:01am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/59 "2025-03-25T08:01:45Z")

</div>

> [@handshaper](#):
>
> No idea why it only works if it is sending to the same address as the one used in the form. All other addresses do not work.

Could you clarify what you’re doing here to make the form work.

Are you saying that you need to fill out the form, in the browser, with your own email address in the “From” input field?

I think that’s what you’re saying, but need to be 100% sure before I can track down this bug correctly 🙂

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 25, 2025, 8:05am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/60 "2025-03-25T08:05:16Z")

</div>

yes thats exactly whats happening of me so I get email to me from me…but no other of my emails work

---

<div class="post-metadata">

**Author:** ![Godber](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/godber/32/26521_2.png) [@Godber](https://forums.realmacsoftware.com/u/Godber)\
**Post date:** [March 25, 2025, 8:34am UTC](https://forums.realmacsoftware.com/t/new-form-component/46808/61 "2025-03-25T08:34:53Z")

</div>

got it working a bit ..I dumped dans email line and added another …I still get it to and from me gut it has whatever email they enter in the email itself

 ![Screenshot 2025-03-25 at 8.32.15 am](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/d/0da122016a6b706e74410d227bb45b532aae2f33.jpeg)

[Previous page](https://forums.realmacsoftware.com/t/new-form-component/46808.md?page=2)

[Next page](https://forums.realmacsoftware.com/t/new-form-component/46808.md?page=4)
