Hi Dimiter,
Many thanks for your solution. That helped. Just had a small question on those lines. I want the user to select a document type and upload the file when they want to add the file. Can you please help with this?
All the examples I found deal only with the upload tool in isolation but not as a form where you select the file and it uploads it finally when a button is clicked along with other controls