How to style the file upload/download elements?

0
Styling the file input <input type="file"> element with CSS is very limited (see e.g. http://www.456bereastreet.com/lab/styling-form-controls-revisited/file-select/). In 'regular HTML' you can do better by a new 'fake' file input on top of the real one and use CSS styling or Javascript to ensure proper file upload (see e.g. http://tiagoe.blogspot.com/2010/01/css-style-typefile-tags.html) Should I want to apply tricks like this to a Mendix app, there's one thing I have no idea how to approach: How would I put that 'fake' file input field in the HTML generated by Mendix? The rest (applying styles, handling the download button that's also in the Mendix file manager component) I think I can handle ;-) Any ideas? Thanks Jan
asked
2 answers
0

<input type="file">

answered
0

You could file a feature request in the support portal. It's currently not possible to change the html for the upload/download element.

answered