XUpload - how to upload directly without the submit button ?

Message
Author
mfaya
Posts: 10
Joined: Jul 23, 2009 7:02 pm

how to upload directly without the submit button ?

#1 Postby mfaya » Jul 26, 2009 7:36 pm

Hello,

I've replaced the onSubmit="return StartUpload(this);" in the <form> to :
onChange="submit(); return StartUpload(this);"

Upload works, but hidden field values are not transmitted.
For example, $_POST["file_name"][0] is NULL.
The same form works with "onSubmit".

Any solution ?

Thanks in advance.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jul 27, 2009 5:56 am

Well....when u were changing the onSubmit handler I guess u knew what u were doing, so it's all up to you now. No solution, sorry.

mfaya
Posts: 10
Joined: Jul 23, 2009 7:02 pm

#3 Postby mfaya » Jul 29, 2009 12:14 pm

Thanks.
I'll share the solution if I found it, but I've tried a lot without success.