<div>Hi All</div>
<div>I am using Drupal 6.20.</div>
<div> </div>
<div>In a form I have a file field as below.</div>
<div> </div>
<div><em><font color="#ff6600"> $form['work']['resume'] = array(<br> '#type' => 'file',<br> '#title' => "Upload Resume",<br> '#description' => 'Browse and select your resume.',<br>
'#required' => FALSE,<br> '#size' => 50,<br> );</font></em></div>
<div> </div>
<div>I have a AHAH button in (in a different division)</div>
<div> </div>
<div><em><font color="#ff6600"> $form['skill_set_wrapper']['allskills']['moreskill'] = array(<br> '#type' => 'button',<br> '#value' => t('Add / Remove Domain, Skills'),<br>
'#weight' => 1,<br> '#ahah' => array( <br> 'path' => 'resume_submit/form/moreskills', <br> 'wrapper' => 'all-skills', <br> 'method' => 'replace', <br>
),<br> );</font></em></div>
<div> </div>
<div>In addition to that I have number of fields in my form. </div>
<div>If I <strong>do not</strong> browse and slect a file for "file" field, then AHAH button works fine (I can add multiple rows for skill add). </div>
<div>If I browse and slect a file for "file" field, then on clicking AHAH button, I get a File download dialog asking "Do you want to save this file or find a program online to open it". </div>
<div> </div>
<div>Did anybody face this issue previouly. What is the workout to avaoid the file download dialog.</div>
<div> </div>
<div>Regards</div>
<div>Austin</div>
<div> </div>