Hi All,
I have a problem validating FileFields.
Basically the code i have is:
msds=Uploader.Files("file1").FileName
prod=Uploader.Files("file2").FileName
I want what is in file1 and file2 in variables msds and prod.
Say i enter a valid file path for "file2" and leave file1 blank. When the form is posted it errors with "Object required: '[undefined]' "
I believe this is a Null value problem as it only happens when a file path is not entered into either file1 or file2.
I have tried many if statements to check to see if these have values but nothing seems to work. Any ideas would be greatly appreciated.
Thanks
Mark
I have a problem validating FileFields.
Basically the code i have is:
msds=Uploader.Files("file1").FileName
prod=Uploader.Files("file2").FileName
I want what is in file1 and file2 in variables msds and prod.
Say i enter a valid file path for "file2" and leave file1 blank. When the form is posted it errors with "Object required: '[undefined]' "
I believe this is a Null value problem as it only happens when a file path is not entered into either file1 or file2.
I have tried many if statements to check to see if these have values but nothing seems to work. Any ideas would be greatly appreciated.
Thanks
Mark