HTML Forms - Document attach and Upload

AEM_Forum

02-10-2016

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.

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_S_Toma

02-10-2016

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>