add placeholder text and set required fields