Great to have implemented a new widget : fileField & filePicker
But how to submit the selected file with fileField.
There is no sample and having read the document, we did not see how to submit the file to be uploaded in the server.
We know how to set the server-side script but there is one missing part which is how to connect the fileField to the action that will perform the submit.
The basic HTML code would do so:
<form action="uploadfiles.php" method="post" enctype="multipart/form-data">
<p>
<label for="my_upload">Select the file to upload:</label>
<input id="my_upload" name="my_upload" type="file">
</p>
<input type="submit" value="Upload Now">
</form>
Could you please give us some hint ?