change inputs to form