Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

HTML Forms - Document attach and Upload

Avatar

Level 10

Hi all,

When we implement forms, generally there is a requirement to upload the supporting documents like ID proof.

Do we have such a feature in HTML Forms, that allows us to attach and upload documents?

Appreciate your responses.

Thanks,

Rama.

1 Accepted Solution

Avatar

Correct answer by
Level 9

Yes Rama.

HTML supports and allows you to upload documents while submitting a form. All you need to do is make sure Html Form has few options like this especially enctype.

<form id="myform" enctype="multipart/form-data" method="post" action="<YouAction>">

</form>

View solution in original post

2 Replies

Avatar

Correct answer by
Level 9

Yes Rama.

HTML supports and allows you to upload documents while submitting a form. All you need to do is make sure Html Form has few options like this especially enctype.

<form id="myform" enctype="multipart/form-data" method="post" action="<YouAction>">

</form>