<div>Hi Experts</div>
<div>I have a simple D7 form and have a file element as below.</div>
<div> </div>
<div> $form['q_name']['q_file1'] = array(<br> '#type' => 'file',<br> '#title' => "Upload document",<br> '#size' => 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. 'name' , 'tmp_name', 'error' 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>