Added maximum length limits to input to prevent truncation on upload to
database.