Fixed Add and Edit required input fields