I have this code on my aspx. My intention is to have two SEPARATE if...then to run:-
//set1
if (form.upfile1 == "") { return "No file uploaded";}
else
{
Code1A;
Code1B;
}
//set2
if (form.upfile2 == "") { return "No file uploaded";}
else
{
Code2A;
Code2B;
}
I found only the first set of IF... THEN code is run. ie, if upfile1 is not null, the then Code1 is run.
However, the second set of IF THEN Code2 is not run no matter what the upfile2 value is
Is it I have placed in semi-comma and close tag wrongly ?
Please help... thanks
Go to the complete details ...