Firing event on textfield of type 'file' doesn't work


I’m trying to use the ‘Choose file’ dialog by triggering a fire event (from a link) on the hidden textfield of type ‘file’ but it won’t work.

Any ideas to trigger the ‘Choose file’ dialog through other widgets by keeping the original textfield hidden from view? (as its styles are not very customizable)


Put it in a dynamic panel - or even just a group - and show/hide that instead?

Don’t know if this exactly fits your needs but there is a way to fire an event “through” a widget to one underneath it: Triggering a file upload from an image widget rather than a text box