Add "required" to input fields.