function checkdirform(theForm){ if(theForm.dirtomake.value==''){ alert('directory name cannot be null'); theForm.dirtomake.focus(); return false; } return true; } function checkfileform(theForm){ if(theForm.Myfile.value==''){ alert('File to upload cannot be null'); theForm.Myfile.focus(); return false; } return true; } function checkuserform(theForm){ if(theForm.userid.value == ''){ alert('User Name cannot be blank'); theForm.userid.focus(); return false; } if(theForm.userid.value == 'username'){ alert('User Name cannot be username'); theForm.userid.focus(); return false; } if(theForm.passwd.value == ''){ alert('Password cannot be blank'); theForm.passwd.focus(); return false; } if(theForm.passwd.value == 'password'){ alert('Password cannot be password'); theForm.passwd.focus(); return false; } return true; } function CheckMsg() { return; }