Optional Upload?
(May 4, 2001)
Question:
What can i do if the file that the users can upload is optional ?
The behavior convert required the field in my form, i need it optional !
Answer:
Try deleting the form onSubmit action. This will disable the empty filename check - but it will also disable the Allowed Extensions check.
In the next version of Pure Upload this will be an option.
User Reviews
Total of 3 reviewsRE: Optional Upload Fix
Written by Phil Thurston on March 27, 2002Hi, I may be just plain stupid but I do not understand your fix for the optional upload? Please can you explain exactly what I have to do? Many Thanks Phil
RE: Optional Upload Fix
Written by George Petrov on June 9, 2001Very good Sam - this does the job even better!
Optional Upload Fix
Written by sam sam on June 9, 2001Commenting out the following foure lines (marked in red) in the check extensions script worked for me, as follows comments? ------------------------function checkFileUpload(form,extensions) { //v1.0 document.MM_returnValue = true; if (extensions ...







