I have two type of input one is file type and second is hidden type. I have value in hidden type and i want to set value in file type.
This code use in drag and drop file upload. If hidden type input send file all attribute that is good for me because i need file attribute in submit function. How to get file name and lastmodifydate etc....
<form action="/upload?X-Progress-ID=1" enctype="multipart/form-data" method="post" id="form_upload" target="iframe_upload" style="display:none;">
<input type="file" name="upload" id="upload" data-buttonText="" onchange="submitForm()" class="filestyle" data-badge="false"><br>
<input type="hidden" name="filesender" id="filesender" >
</form>