How can I create code that will validate a file upload field? The validation will just check to make sure that text has been entered in the file upload field.
function Checkit(){
if (document.forms.formname.filefieldname.value!="" return true
else{
alert('enter a file name, please')
return false}
} Victor
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.