I have a screen with several fields, the async upload control and a submit button.
I don't want the upload to take place until the submit button is clicked, as I cannot get the values of the fields on the screen until this time. These fields need to be stored on the same record as the image. The 'handler' is called when you 'select' the file and at this time I am storing a record in the database with the image.
I am able to store the image, get the key from the database, and then do an update to the data once 'submit' is pressed, but I would like to do just one insert command.
If the user decides to exit out of the screen, I have a record stored that is not complete with the rest of the screens information.