public static boolean verifyNewEmployee(NewEmployeePage newEmp){
		if(InputChecker.fullName(newEmp.getEmpName().getText())){
			
			if(!newEmp.getEmpUsername().getText().equals("")){
				
				if(!newEmp.getPassword().getText().equals("")){
					if(!newEmp.getEmpEmail().getText().equals("")){
						if(!InputChecker.position(newEmp.getEmpPosition().getText())){
						
							if(InputChecker.phone(newEmp.getEmpPhone().getText())){
						
								if(newEmp.getEmpAddress().getText()!=null){
							
									if(newEmp.getDob()!=null){
										if(InputChecker.dob(newEmp.getDob()))
											return true;
										else{ System.out.println("invalid format for Dob");
											newEmp.getWarning().setText("invalid format for Dob");}
									}else{
										System.out.println("wrong format for DoB");
										newEmp.getWarning().setText("wrong format for DoB");}
								}else{
									System.out.println("wrong format for address");
									newEmp.getWarning().setText("wrong format for address");}
							}else{
									System.out.println("wrong format for phone");
									newEmp.getWarning().setText("wrong format for phone");}
						}else {newEmp.getWarning().setText("Incorrect Position");}
					}else{newEmp.getWarning().setText("Incorrect Email format");}
				}else{newEmp.getWarning().setText("incorrect password");}
			}else{newEmp.getWarning().setText("incorrect username");}
		}else{
			System.out.println("wrong format for name");
			newEmp.getWarning().setText("wrong format for name");}
		return false;
	}