form validation for client add & edit forms