Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

configure upload file

$
0
0

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,

 

Regards,

 

Iccsi,

 

<cfif isdefined("form.submit_upload")>

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

File Uploaded!

</cfif>

 

 

<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">

 

 

</cfform>


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>