Enable an input element which allow user input and call a function using that input.