0 Replies Latest reply on Sep 5, 2013 7:06 PM by iccsi

    configure upload file

    iccsi Level 1

      I use following code to have upload file contorols on the form.

      I has a button which has caption "choose file" on the left and have a label to show file name when user select the file.


      I want to have Browse caption on the button and to have the button on the right side and to have a text box to store file name text.

      I would like to know if it possible to use any property or attibute to configure, if not, then the only solution I need to use JavaScript to configure my controls.


      Your information and help is great appreciated,






      <cfif isdefined("form.submit_upload")>

      <cffile action="UPLOAD" filefield="file_path" destination="Mypath" nameconflict="MAKEUNIQUE">

      File Uploaded!




      <cfform action="fileupload1.cfm" method="POST" name="frmupload" enctype="multipart/form-data">

      <cfinput type="file" name="file_path" id="Browser" value="Browser">

      <br />

      <cfinput type="submit" name="submit_upload" value="upload">