added character limit validation to caption and credit fields