Form (I divide in 6 steps) and I need a drag and drop of images in one of the steps

1

I am developing a WEB page where the user has to fill out the form and then at the end send me all the information so that my company can budget for his request.

The form is divided into 6 steps:
1º - Some information of the company;
2º - The menus that will be used;
3rd - A Drag and Drop of Images
4th - A drag and drop of text files
etc ...

DRAG AND DROP AREA

HTML

<divclass="dropzone" id="dropzone">
<span>Arrastar e soltar ou clique aqui</span>
<div id="uploads"></div>
</div>

That is, the user first loads and shows the photos inside the Drag and Drop area. Then at the bottom of the form, on the Send button, I need a script (PHP I think), create a folder inside the server with the name of the Company (to have a better organization) and upload it into the same one images or files uploaded by the user. Then the part of guarding the information in the database is no longer a problem but I did not do this part because I need to be sure that the "hardest" part works that is the upload. I do not even have any code done, I tried some things, like dropzone and some that I found on the internet but I could not implement any ... I think my main problem is that when I click on the upload button, I can generate the folder and upload all files to it.

Thanks for any help, thank you.

WEBSITE
link

    
asked by anonymous 01.04.2016 / 13:53

0 answers