Uploading Files via a form (1 Viewer)

chrisguk

Registered User.
Local time
Today, 12:03
Joined
Mar 9, 2011
Messages
148
Hi there,

I have a form that the user completes but they may want to store a related file on the server in the same form.

How to I create a button to browse the file and then store it in a default location on the server?

Chris
 

gavine

Registered User.
Local time
Today, 15:03
Joined
Apr 12, 2012
Messages
10
Hello, I've installed this API and the Browse button appears to be working corrrctly (it triggers the file selection window). However, when I select a file and click "Open", the selection window closes but the file name and directory path is not populated on my form. I have a "Browse" button which submits the API at the On Click event, and I have a text field bound to the "Browse" button, assuming this is where the resulting file name and path would return.

What am I doing wrong? How do I get the file name and path to return into a text field?

Thanks in advance
 

Users who are viewing this thread

Top Bottom