Drupal file upload field via popup So I'm using a "file" type input inside a form which is called within a popup...but then whenever I submit that form inside the popup after having selected a file, the popup always return an error....

Is there a way to prevent this from happening and to successfully submit the form accordingly even with a file upload?
I made it by creating 'VIEWS' by selecting the facebook style micro publisher images as 'field' and filtered according to my requirement.