Using tomi:upload-jquery/server

I think I’m missing something. I’m trying to use tomi:upload-jquery as a part of a larger form to upload a number of files.

These files will then be copied to another folder on the server depending on some of the data in the other form fields and some meta-data will be stored in the database.

My problem is that I can’t seem to ‘connect’ the two items: I don’t see from the documentation how I can get the names and paths of the uploaded files when I submit the form. I’ve seen mention of ‘formData’, but there’s no explanation what that actually is in this context.

Can anyone shed some light on this? Thanks in advance!