<div>Hi Experts</div>
<div>I have a simple D7 form and have a file element as below.</div>
<div> </div>
<div> $form[&#39;q_name&#39;][&#39;q_file1&#39;] = array(<br> &#39;#type&#39; =&gt; &#39;file&#39;,<br> &#39;#title&#39; =&gt; &quot;Upload document&quot;,<br> &#39;#size&#39; =&gt; 60,<br> );<br></div>
<div>Its a 2-step form. User fills data in page1, previews it (page 2) and submits.</div>
<div> </div>
<div>If I do submit from page 1, it works fine.</div>
<div>If I do submit from page 2, looks $_FILES array values are not there. &#39;name&#39; , &#39;tmp_name&#39;, &#39;error&#39; indexes are missing from $_FILES array.</div>
<div>I am sure others might have faced this issue earlier. Can somebody kindly give me a pointer how to fix this issue or whats the work around here.</div>
<div> </div>
<div>Thanks</div>
<div>Austin</div>
<div> </div>
<div> </div>
<div> </div>