I use the twoose and want to send two files and one string into a comfort service. The HTML for this is:
// ... & Lt; Input name = "train" type = "file" value = "browse" data-dojo-type = "goosex / form / uploader" gt; & Lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; TD & gt; Dataset2 & lt; / TD & gt; & Lt; Td> & Lt; Input name = "test" type = "file" value = "browse" data-dojo-type = "dojoox / form / uploader" gt; & Lt; / Td> & Lt; / TR & gt; & Lt; TR & gt; & Lt; Td> Number of customers & lt; / Td> & Lt; Td> & Lt; Input name = "number client" size = "40" type = "text" data-dojo-type = "dijit / form / textbox" /> & Lt; / Td> & Lt; / TR & gt; & Lt; / Tbody & gt; & Lt; / Table & gt; & Lt; P & gt; & Lt; Input name = "run button" type = "submit" value = "run" data-dojo-type = "dijit / form / button" id = "submitbutton" /> gt; & Lt; / P & gt; However, if I press the submit button, then I can see through firebug that two post-requests are sent. One of the first files and "Customer number" field and one with the second file and "Number of customer" fields, however, my rest of the service wants to file both the file and "number of customer" in a post request. How can I do that? What am I doing wrong? Thank you very much Natan
Comments
Post a Comment