input field component demo
set up event handler for form components on form view