Hello everyone,

I'm trying to modify the OTRS template to be able to get the file upload working with the "dragdropupload" firefox extension.

Basically I just need to do have the submit button "AttachmentUpload" run every time there is a change in the "file_upload" field of the form...can somebody point me in the right direction? Unfortunately my javascript skills are very low...

I think I need to add an "onchange" event to this: <input name="file_upload" type="file" size="40" class="fixed"/> which will call <input class="button" type="submit" name="AttachmentUpload" value="$Text{"Attach"}"/>. I know I can do a submit();, what I can't figure out is how to call it with the right parameters to start the upload of the file.

Thanks in advance for all the help.