Trigger a child link field

Hi,
I am filling a collumn (link field) via code in a child table but the trigger is not automatic. If I select this link field via mouse click, it works very well. Is there a function for this situation?
Can you send me an example?
Thanks in advance.

Do share what you have done with the code you have written. The screenshot of where you want to apply the code will make many to help you.

Hello dear friend?

Di you make it?

Im facing the same issue

Adding a link field from js, and need to update another items based on fetch

You can call AJAX to set the value of the third field, from the trigger by which the link field is being set.

You can call AJAX to set the value of the third field, from the trigger by which the link field is being set…

Try to use frappe.model.set_value(child doctype, Child doc name, field name, value)