I have the following problem, I have two input's the first allows you to attach multiple files, and the second only one. When I attach several images, for example, in the first input and then try to attach another image in the second input, the following error occurs:
IfIdotheopposite,appendinganimagetothesecondinputandthenappendingseveraltothefirstinput,theerrordoesnotoccur,Idonotknowwhy.
<!--PrimeiroInput,quepermiteváriosarquivos--><divclass="form-group">
<label>Contrato Social (até 20 arquivos):</label>
<input class="form-control" name="CONTRATO_SOCIAL_CADASTRO[]" id="CONTRATO_SOCIAL_CADASTRO" accept="image/*,.docx,.doc,.pdf" type="file" multiple="" required="">
</div>
<!-- Segundo Input, que permite apenas 1 arquivo -->
<div class="form-group">
<label>Requerimento de Empresário (somente 1 arquivo):</label>
<input type="file" accept="image/*,.docx,.doc,.pdf" class="form-control" name="REQUERIMENTO_EMPRESARIO_CADASTRO" id="REQUERIMENTO_EMPRESARIO_CADASTRO" required="">
</div>
I do not know what I'm doing wrong, if it's some configuration, parameter, error in the code or something else. From what I researched may be the cache memory of the browser, but then I do not understand why the error does not happen, when I "attach" in reverse. As it is in the title, this problem only occurs when the page is accessed from a smartphone, I have tested it on several different smartphones and different browsers too, the same error always occurs.