views:

10

answers:

0

There is a form with enctype="multipart/form-data". In the form, there are several input text fields, a file field and a "save" button. I want to replace the standard html file field with a "drag-and-drop-uploading" widget. When a user drag and drop a file from the desktop to the widget, it shows the filename (and maybe other information) but does not upload the file immediately. Only if the user click the "save" button, data in input text fields and the file are posted to the action URL.

Is it possible to do this with HTML5? I don't care about the cross-browser issue since I am building a in-house CMS.