added validation error for caption maxlength

[#64172798] WIP