Max-length error message shown before submit