Hello!

I need to send an  Formular with Content-Type „ multipart/form-data“.
The File that I send is a image. Kss send it as a string.

Kss send something like this.
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

form.image=1.JPG

It must be like this.

Content-Type: multipart/form-data;
Content-Disposition: form-data; name="form.image"; filename="1.JPG"

Content-Type: image/jpeg

ÿØÿàCONTENTCONTENTCONTENT_DATA.

My kss:

#bla:click {
   evt-click-preventdefault: true;
   evt-click-allowbubbling: true;
   action-server: testKss;
   testKss-kssSubmitForm: currentForm();
}

My form:

<form id="zc.page.browser_form" class="edit-form"
enctype="multipart/form-data" method="post" action="/action">

<input type="file" size="20" name="form.image" id="form.image"
class="fileType"/>

<input type=“submit“ id=“bla“ />
</form>

How I can tell KSS to send my form  multipart/form-data? Can't find
this feature in  in the Doku.

-- 
Best Regards
Vlad Vorobiev
_______________________________________________
Kss-devel mailing list
Kss-devel@codespeak.net
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to