form validation for company edit