UIAlertView*alert=[[UIAlertViewalloc]initWithTitle:@"Invalid Book ID"message:@"Book ID must be numeric"delegate:nilcancelButtonTitle:@"OK"otherButtonTitles:nil,nil];
[alertshow];
}
}else{
//if not 14 digits
//UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Invalid Book ID" message:@"Book ID improper length" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];