Auto input to form