Page 1 of 1

Multiple file upload - complete/finish event

PostPosted: 05 Aug 2015 09:32
by Alexander Bulei
Hi,

If you want trigger the OnComplete event, only when all files are uploaded, here you have the snippet:

delphi code
procedure TIWForm3.IWAppFormCreate(Sender: TObject);
begin
IWCGJQFileUpload1.JQFileUploadOptions.OnComplete.Condition:= Format('(%s_JQObj._uploadingList._filelist.length == 0)',[IWCGJQFileUpload1.JQHTMLName]);
end;


Best Regards.