binding input field with marker event