Pure ASP Upload Tutorials - Optional file upload
Optional file upload
In this tutorial we will explain how to make an optional file upload.
How to do it
To make an optional file upload, you need to:
- Start with basic upload page
Start with an upload page where you have Pure ASP Upload on it. If you haven't done it yet, go through the Simple file upload tutorial.
- Open the Pure ASP Upload dialog
Select the Pure ASP Upload dialog by double clicking it on the Sever behaviors list.
- Make the upload optional
- Save and done
When you need to have an optional upload you only have to clear the Require Upload checkbox.
Then the users won't get a warning when they try to submit the page without specifing a file to upload.
Save your page and upload it to your server, and you are done! Go to your website and test it - you should be able to skip the file upload now.