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:
wait until user has filled out file-specific fields (or wait until press "upload" button), call
setparamsmethod on fine uploader instance (passing params object), , ask fine uploader upload files. assumesautouploadoption set "false", , have button starts uploads callsuploadstoredfilesmethod on uploader instance.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
Post a Comment