Expand my Community achievements bar.

Drag-and-drop image onto image filed on LC Form (PDF or HTML5)

Avatar

Level 8

The objective of this is to implement rich UI/UX to the form and allow the user to insert an image using drag-and-drop method.
 
Is there a way to allow the user to add a picture to the form using drag-and-drop?
 
I can understand that this many not be possible using PDF, but can it be done using HTM5 mode?
 
Is there a workaround? Such as developing a widget that will allow drag-and-drop.
 
Appreciate your feedback.
 
Tarek

2 Replies

Avatar

Level 8

Yes there is a sample here http://216.104.208.185/content/demo-listings/demo-listings.html

 

Look at Add and display the uploaded image in Mobile Form

 

You can download all the samples in a package at the top of the page

Avatar

Level 8

Ok, I see. However, the sample provided :

 

http://216.104.208.185/content/dam/formsanddocuments/AEMFormsDemoListing/schengen.xdp/_jcr_content

Doesn't allow drag-and-drop ! Can we develop HTML5 widget that allows drag-and-drop?

Tarek