Added the option to bind to input and textarea form fields