Image Field in Adaptive Forms | Community
Skip to main content
jagjeetthukral
New Participant
May 16, 2018

Image Field in Adaptive Forms

  • May 16, 2018
  • 2 replies
  • 14989 views

Haven’t you come across a scenario, where the business wants you to emulate the paper based version of the forms as is on web channel ? If so, then I think the hardest part of such requests is to have an Image Field in Adaptive Form. It is like where the person filling up the form should be able to attach and then see or preview the passport size photograph or may be some other photograph while within the form’s view. Adaptive Forms only provide a hyperlink to the uploaded image. This link when clicked, depending upon your browser’s settings, will either open the image in a new tab or download it.

Another important reason for this being popular is because there is a similar widget already present in Mobile Forms aka XDPs aka XFA Forms aka Form Templates.

Another related scenario is where you have to also ensure that this image is also similarly visible is the print channel or the Document of Record. This is an equally hard thing to implement, if not harder for developers and consultants. We will be looking at the Document of Record integration in a future article. In this article we will stick to basic implementation of Image Field in Adaptive Form. In fact, there are two ways to achieve this, using the Out Of the Box File Upload widget or by creating a custom widget. For now, let us look into the implementation using OOTB File Upload Component.

I have created a blog post with step by step details for implementing Image Field in Adaptive Form , on AEM Forms Blog

In case you have any troubles implementing this, please feel free to ask your questions here.

Thanks & regards,

Jagjeet Singh

AEM Forms Blog

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

2 replies

tarekahf
New Participant
May 20, 2020

The links you provided in your post are not working. I need to find out how to implement a File Upload Component Field for Images in AEM Adaptive Form.

 

Tarek

New Participant
May 20, 2020
tarekahf
New Participant
May 20, 2020

Thanks a lot. Is this the same as developing a component? I am looking for a solution that provides a component that you can drag-and-drop onto the form that provides the image file upload function.

kautuk_sahni
Employee
May 17, 2018

This is really a wonderful content. Thanks for sharing this.

-Kautuk

Kautuk Sahni