HTML Forms - Document attach and Upload | Community
Skip to main content
AEM_Forum
New Participant
October 3, 2016
Solved

HTML Forms - Document attach and Upload

  • October 3, 2016
  • 2 replies
  • 1063 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jitendra_S_Toma

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>

2 replies

AEM_Forum
AEM_ForumAuthor
New Participant
October 3, 2016

Thanks a lot Jitendra.

Rama.

Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
New Participant
October 3, 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>