I tried the program and it does what it shall do. I tested it with existing id and with not existing id and even with part of the id. In any case it does what it has to do. Thats why i dont get the validation. Thanks for helping :D