For this example to work, you must enable uploads in your web.xml file.
If your browser supports it, the upload happens via Ajax, using dojo.io.IframeIO.
This sample uses an on-value-changed handler on the upload field, meaning the form will be submitted as soon as you have selected a file.
There is another upload sample with a progress bar.
Back to Forms samples