# Forms in Elements

**URL:** <https://forums.realmacsoftware.com/t/forms-in-elements/48348>\
**Category:** Elements\
**Created:** [June 25, 2025, 11:33am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348 "2025-06-25T11:33:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multiferry](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Multiferry](https://forums.realmacsoftware.com/u/Multiferry)\
**Post date:** [June 25, 2025, 11:33am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/1 "2025-06-25T11:33:40Z")

</div>

Dear all, I now have built up two forms and got 2 main problems. Firstly only 1 document can be attached and secondly the input field is only working with 1 line. Can you please help me?  
Regards Ferry

---

<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:** [June 25, 2025, 11:42am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/2 "2025-06-25T11:42:36Z")

</div>

Hi @Multiferry,

> [@Multiferry](#):
>
> Firstly only 1 document can be attached and secondly the input field

Multiple files are supported when sending forms via email. However, Webhooks are limited to a single file.

**This is really a limitation on webhook endpoints, not Elements:** Most webhook endpoints expect a single file attachment, typically for straightforward processing, like saving it to cloud storage or forwarding it via email. Supporting multiple files would require a more complex multipart or array-based structure, which many webhook endpoints don’t handle out of the box.

> [@Multiferry](#):
>
> input field is only working with 1 line.

Set this field to a textarea, and then set how many lines you’d like.

 ![CleanShot 2025-06-25 at 12 .37.02@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/3/637b53a98f5132aa8b38eb5398378a803447df63.png)

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 25, 2025, 6:46pm UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/3 "2025-06-25T18:46:43Z")

</div>

I found this when searching for a solution to the contact form. I just cannot get it to work! I waited until 0.9.8. in case the new templates with a contact form would help but no, it still won’t send an email.

I use gmail so [smtp.gmail.com](http://smtp.gmail.com), port 587, TLS and I have tried both my real password and an app-specific password. None of these settings work, when I press the submit button nothing happens.

Any help please?

---

<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 25, 2025, 8:15pm UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/5 "2025-06-25T20:15:38Z")

</div>

Hi @jwDave.

Could you check which version of PHP is installed on your server?

You can do this by appending `?apicheck` to the end of the URL — that will add an overlay to the page with a success or error message 🙂

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 25, 2025, 9:03pm UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/6 "2025-06-25T21:03:21Z")

</div>

So my php was out of date but I updated it to a compatible version 8.3.22.

I also changed the name of the index.html to index.php and the folder name to ‘contact’ but it still doesn’t work, am I missing something about the page set up?

---

<div class="post-metadata">

**Author:** ![Multiferry](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Multiferry](https://forums.realmacsoftware.com/u/Multiferry)\
**Post date:** [June 26, 2025, 6:13am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/7 "2025-06-26T06:13:42Z")

</div>

Hi Dan, with the textarea I am now fine. But either I try “drag & drop” or attach some files with the select button, only one file will be attached and send. I am sure in later versions this was working. Regards Ferry

---

<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:** [June 26, 2025, 8:09am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/8 "2025-06-26T08:09:18Z")

</div>

Hi @Multiferry, can you share the live URL so we can take a look at the page?

Oh, and are you sending via Email or Webhook?

---

<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:** [June 26, 2025, 8:10am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/9 "2025-06-26T08:10:12Z")

</div>

> [@jwDave](#):
>
> I also changed the name of the index.html to index.php and the folder name to ‘contact’ but it still doesn’t work, am I missing something about the page set up?

Can you share the live URL of your page, and your project via Elements Cloud?

---

<div class="post-metadata">

**Author:** ![Multiferry](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Multiferry](https://forums.realmacsoftware.com/u/Multiferry)\
**Post date:** [June 26, 2025, 8:30am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/12 "2025-06-26T08:30:34Z")

</div>

Hi Dan, it`s e-mail. ([MULTIBETON - Qualität ist die beste Garantie.](https://www.warmondo.de/an_de/an_de.php)) Regards Ferry

---

<div class="post-metadata">

**Author:** ![Multiferry](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Multiferry](https://forums.realmacsoftware.com/u/Multiferry)\
**Post date:** [June 26, 2025, 8:32am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/13 "2025-06-26T08:32:56Z")

</div>

elementsapp://downloadDocument/AhyfLVT88zKo

---

<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 26, 2025, 8:57am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/15 "2025-06-26T08:57:11Z")

</div>

> [@jwDave](#):
>
> It is a test site I use for exploring ideas. [Contact](https://beta-jwdr.co.uk/Contact/)

In this case it seems like the `.htaccess` file is not on the server — I think this is the case as the requests to the Form processing API are coming back as a 404 not found.

My thought is that the `.htaccess` that routes the requests correctly is not on the server, if it were then we would not be getting a 404 returned.

Could you try Re-publishing All Files, and then check if the following file is present on your server: `/rw/elements/com.realmac.apipack/api/.htaccess`

Apologies for the inconvenience. I am working on an improved Form at the moment, which will help us debug these kinds of issues easily. We hope to have that update out to you within the next couple of weeks.

---

<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 26, 2025, 9:04am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/16 "2025-06-26T09:04:02Z")

</div>

> [@Multiferry](#):
>
> try “drag & drop” or attach some files with the select button, only one file will be attached and send

It looks like, from your project, that you need to enable the “ **Multiple** ” option of the Form Attachment component. Give that a go and let us know if it’s working 🙂

 ![CleanShot 2025-06-26 at 11.01.59@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/a/6/a6efb89f1566264ea234a0e4f06b7beb22bed717.png)

---

<div class="post-metadata">

**Author:** ![Multiferry](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Multiferry](https://forums.realmacsoftware.com/u/Multiferry)\
**Post date:** [June 26, 2025, 9:23am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/17 "2025-06-26T09:23:21Z")

</div>

Very easy. Now it works thanx. One small thing with the subject. I entered a german wording but it still write “new form submission”. Regards Ferry

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 26, 2025, 10:21am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/18 "2025-06-26T10:21:47Z")

</div>

Hi

I republished all files and the .htaccess file is there where you said it should be, still won’t send email though.

Many thanks  
Dave

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 26, 2025, 10:23am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/19 "2025-06-26T10:23:10Z")

</div>

This is the .htaccess file content.

Thanks  
Dave

RewriteEngine On

# Route all requests to the ‘public’ directory

RewriteCond %{REQUEST\_FILENAME} !-f  
RewriteCond %{REQUEST\_FILENAME} !-d  
RewriteRule ^ public/index.php [L]

---

<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 26, 2025, 10:45am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/20 "2025-06-26T10:45:29Z")

</div>

> [@Multiferry](#):
>
> I entered a german wording but it still write “new form submission”.

That’s a known bug, we should have that fixed in the upcoming Form updates!

---

<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 26, 2025, 10:46am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/21 "2025-06-26T10:46:40Z")

</div>

who are you hosting with?

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 26, 2025, 11:22am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/22 "2025-06-26T11:22:36Z")

</div>

IONOS, I have several RapidWeaver contact forms hosted with them, all work ok.

Thanks  
Dave

---

<div class="post-metadata">

**Author:** ![jwDave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jwdave/32/31841_2.png) [@jwDave](https://forums.realmacsoftware.com/u/jwDave)\
**Post date:** [June 26, 2025, 7:05pm UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/23 "2025-06-26T19:05:00Z")

</div>

I have stripped this down to a singe page and form for debug purposes, so the the url to the contact form that doesn’t work is now [https://beta-jwdr.co.uk](https://beta-jwdr.co.uk)

---

<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 27, 2025, 7:20am UTC](https://forums.realmacsoftware.com/t/forms-in-elements/48348/24 "2025-06-27T07:20:18Z")

</div>

Hi @jwDave,

I still can’t work this one out, for some reason the API request is returning a 404.

As I mentioned above, we do have an improved version of the Forms coming, however, with this version of the Forms I can’t debug anything more from my end.

I would be happy to take a closer look if you’d be willing to give me access to your server. If that’d be ok, perhaps you could send me a temporary username + password? You can DM me here or email ben at realmac software.

Apologies again for the inconvenience.

[Next page](https://forums.realmacsoftware.com/t/forms-in-elements/48348.md?page=2)
