Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
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>