Add required to input field