Set the value of the input field