fine uploader - Submit multiple form fields for each file in FineUploader -


i have managed fineuploader working fine, including submission of other form elements.

i have requirement have separate form elements each file submitted. if know how youtube works, see how each video gets additional form fields, can fill in while video still uploading. can handle additional form fields being submitted without problems (using separate ajax call if necessary), how associate form fields different files?

is possible?

you have 2 options:

  1. wait until user has filled out file-specific fields (or wait until press "upload" button), call setparams method on fine uploader instance (passing params object), , ask fine uploader upload files. assumes autoupload option set "false", , have button starts uploads calls uploadstoredfiles method on uploader instance.

  2. add logic web app submits these additional form fields outside of fine uploader on demand, assuming want able have users enter data after upload has started or completed. in case, can pass file's uuid (created fine uploader) along parameters/form values. fine uploader send uuid each file along each upload request, need track server-side in order connect file future request.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -