anandraman
Programmer
I have a FORM containing a File element. I need that FILE element to able to upload files of type "pdf" and "html" only. How do i do it. For example..I want user to see only pdf/html file to upload after he clicks the 'Browse' button.
I currently use
<form ACTION="Add.asp" METHOD ="POST" ENCTYPE="multipart/form-data" name="Addcomp"
ACCEPT = "text/pdf , text/html">
<input type="File" name="sigFile" size="20" >
This brings up a Choose File Dialog that shows a default of 'All Files' , Pictures [*.jpg] and HTML [ *.htm]
Please help..
I currently use
<form ACTION="Add.asp" METHOD ="POST" ENCTYPE="multipart/form-data" name="Addcomp"
ACCEPT = "text/pdf , text/html">
<input type="File" name="sigFile" size="20" >
This brings up a Choose File Dialog that shows a default of 'All Files' , Pictures [*.jpg] and HTML [ *.htm]
Please help..