Hi,
May I please ask if anybody could advise how to change the format of the button that shows up when you assign “File” to a text field? I would like it to match the buttons in the rest of my theme. Triggering a file upload from an shape widget.rp (54.8 KB)
You are very close. The javascript applied OnLoad to the Add File button makes the button invisible to clicks, so you can click through it and hit the button behind it.
However, it expects the button to be named “g”. You can change the javascript to what your button is actually called. (If it has any spaces in , you’ll need to surround it by double quotes.) Or just change the name of your button to “g”.