reads value from input field (if there was one)