FileItem and UploadItem text area always seem to display at the same width regardless of the "width:" specified for the item in DynamicForm.create. Is there a different way to go about setting the width of these items? Thanks.
Jeff
Last edited by jbeckerjnana; 29 Jul 2008, 07:21.
Reason: new sticking point
Hi Jeff
UploadItems don't support custom width at the moment.
This is due to a native limitation on what css styling is available on HTML input items of type "file".
Sorry for the inconvenience on this one.
FileItem - can I change the "browse" button behavior?
I'd like to use the FileItem to allow a user to select a file on their file system, but I want to open the file dialog from an "Import" button on a DynamicForm, and I don't want a text input control to appear. Is there any way I can change the FileItem behavior?
There are exotic hacks which allow you to fully skin an UploadItem, but we don't recommend going down that route because radically altering an UploadItem's appearance could be viewed as a security flaw, and prevented by future browser versions.
Comment