Listener for radio buttons in FormAdvancedLayout

I use

template to extend my forms ,
and in createField method , i use option group , and now i want to add listener to one of the radio buttons
that with selecting one of the radio buttons , i can enable another field in the form.
but i don,t know how to do that . is that possible?