Hi,
I have this custom script :
frappe.ui.form.on("Quality Inspection", "reference_document",
function () {
var myWin = window.open("https://google.com");
});
I want to replace the google.com to a custom field in the same Document called “document_reference_url”
frappe.ui.form.on("Quality Inspection", "reference_document",
function () {
var myWin = window.open("https://frm.doc.document_reference_url");
});
How can I achieve that?
Thank you!