i have two fields in same form collected amount and debt collected amount i want to fech value from collected amount field to debt collected amount … for example if i enter 100 in collected amount automatically debt collected amount will be same.
this what i try but not work!!
Hi @GhadaEbrahim,
It’s not worked in fetch from. So please apply custom/client script for it.
frappe.ui.form.on('Your DocType', { collected_amount: function(frm) { frm.set_value("debt_collected_amount", frm.doc.collected_amount); } });
Please set your field according.
Thank You!