This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 9, 2011, 5:50 AM
10 Posts

Custom error message for File Upload "Accept"

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 0
Hi All
 
Does anyone know how to customise the error message for File Upload controls when the "Accept" property is set (eg in my case pdf)?
 
Currently the error output if I attempt an upload of a .doc is "Unaccepted Content Type: application/msword" which is not helpful to a standard user. I want to apply something stating that the upload needs to be an Adobe PDF document.
Any help is appreciated.
 
Thanks 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal