setting max length for form fields