Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Setting prompt for a FileItem field

    Is there a way to set the prompt for a FileItem field? The default seems to be something like "No files selected". And using setPrompt() on it does not seem to have any effect.
    I would like to set different prompts based on context for the FileItem fields on a page.
    Thanks.

    #2
    That string is rendered automatically by the browser, not by SmartGWT. Different browsers display it differently and some do not have such prompt text at all.

    Unfortunately, this string is generally not customizable, as it's a security issue if an end user cannot readily identify that he is working with an upload control which will upload a file to the server.

    Comment

    Working...
    X