I am not sure if I understand you correctly. Typically, change triggers for form fields can be defined in the custom script of the affected doctype, simply by using the field’s name as key. Something like this
Actually i want to use on_change function from UI dialogue…this is working perfectly in Script Report but not in custom Script …
after selection if i am clicking outside of field then it is working
please suggest me
@Thukten_Dendup
Onchange event is not trigger on quick entry form. I think that was the reason that you can’t see console. Try this on full edit form. But if you want to call this event on quick entry form then check this link.