I am using Laravel blade, I am facing problem that am not able to get the input name for dropzone area to save to the database in dropzone.js
. So I need to set name for dropzone area which must be type array
.
Below is my code.
{!!Form::model(null,array('url'=>'/assets/global/plugins/dropzone/upload.php','class'=> 'dropzone dropzone-file-area', 'id'=> 'my-dropzone','files'=>'true','style'=>"width: 100%;height:50px;")) !!}
<h3 class="sbold">**Drop files here or click to upload**</h3>
{!! Form::close() !!}
Remove 'id'=> 'my-dropzone'
from Form::model()
and put it in div inside the form:
<div id="my-dropzone"></div>