closing curly brackets, parentheses and semicolon!

Tropicalrambler
2017-11-24 21:41:41 -06:00
parent eb7620f1a6
commit fe920a374e

@@ -113,6 +113,8 @@ frappe.ui.form.on("[PARENT_DOCTYPE_TARGET]", "refresh", function(frm) {
frm.add_fetch("[CHILD_TABLE_LINK FIELD]", "[SOURCE_CUSTOM_FIELD2]", "[SOURCE_CUSTOM_FIELD2]");
}
});
});
```
Note: If you wish to fetch data for a field within the parent doctype, then, add the frm.add_fetch line immediately below the line
```frappe.ui.form.on("[PARENT_DOCTYPE_TARGET]", "refresh", function(frm) { ```