watch for form element state