Designing and edit fields in hrdatabase