Recently I upgraded Cocoon from 2.1.5 to 2.1.7. Most of things works fine, except one FlowScript function.

I have this HTML form (hidden fields values are passed from flow) :

<form enctype="multipart/form-data" method="POST" aaction="upload.html">
<inputtype="file" name="plik">
<input type="submit" name="upload" value="Upload file" >
<input type="hidden" name="directory" value="/root/file" >
<input type="hidden" name="action" value="upload">
</form>


In FlowScript if I try to access my hidden fields

var action = cocoon.request.get("action");

I always receive null. If I remove enctype from form element it works well, but in this case I can't access uploaded file. In Cocoon 2.1.5, this code works fine with set enctype.

J.K.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to