You need to sign in to do that
Don't have an account?
Urvi
Problem in <apex:inputfile accept ="doc, txt" />
Hi,
I am facing problem in
<apex:inputfile accept="doc, txt, pdf, zip" value="{!attachment.body}" filename="{!attachment.name}" contentType="{!fileContentType}" fileSize="{!uploadFileSize}"></apex:inputfile>
accept="doc, txt, pdf, zip" property this i have applied still it will accept all files in open file dialogue...
It will accept all files and we have to write validations manually.
Is there any other way or am i going wrong with this?
Please let me know ASAP
Thanks in Advance
Urvi
I recently used this and it works as expected in Chrome21.0, Firefox 15.0 and IE 9
"
"
to allow only image to be uploaded .