added length limits to form fields sensibly