set inputs in form with data values