message validation doesn't work

message is not working as a comment i marked it as comment