validate notes lenght and content