add required on input