file-upload icon indicating copy to clipboard operation
file-upload copied to clipboard

Prevent auto-upload?

Open danprime opened this issue 10 years ago • 2 comments

Hi,

I noticed there's a method uploadFile() in the docs. Is there a way to turn off automatic uploading? i.e. I want to use this component as part of a wizard but I don't want to send it immediately to the server until I confirm with the user a few things.

danprime avatar Feb 19 '16 08:02 danprime

Hey! Let me see what I can add (probably won't get to this until next week). PRs are of course welcome!

winhowes avatar Feb 25 '16 08:02 winhowes

Sorry to be daft but perhaps an example receiving page would be helpful. Also, I don't see a name property. I might be incorrect in assuming that I can have two or more upload tags each targeted to a different field in my database which I would be able to refer to in my receiving script by name....no? Also how to send other data eg. recordID?

Oh I think I see. On a successful upload I can handle the success event and then make another call to update my database. I will check the examples some more.

chisholmd avatar Mar 02 '16 22:03 chisholmd