add 2nd method to bind input field.