jquery file upload plugin submits whole form -


i'm using jquery file upload plugin <input type="file"> tag in form. form has other fields not submitting server. possible upload file , not whole form? using jquery validator plugin after uploading file, form submit triggered , empty field marked not valid. move away <input type="file"> form need inline between other form elements. form dynamic don't want position absolutely.

here can find info formdata option:

if set formdata option, these fields won't sent server...

so can set empty array , rest form fields not sent, files:

$('#foo').fileupload({     ...,     formdata: [],     ..., }); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -