Hi Tony, thank you for the response. It seems that snippet you included might work when the only thing being uploaded is a file and no other fields?
I have a form with a number of text fields as well as a photo, when you click the “edit” button a modal pops up with the various editable fields and a file field (because the photo has edittype: 'file') but the form is not enctype=”multipart/form-data” so no image can be uploaded.
What I'm trying to figure out is this:
1. I have a grid that has an image, a name and a caption
2. There is an edit button that, when clicked opens a modal window with a form to edit those three things
3. This form has a file input field and two text fields
4. You select the image, enter the text, hit submit and everything gets uploaded/updated/added.
Is this just not possible with jqgrid? It seems you can upload a file (using a third-party ajax file upload plugin) or you can handle text fields but you cannot do both in one form with jqgrid. Is this correct?