adding validation to inquiry fields

adding validation string field and a message field for validation errors