Hello community,
I am trying my hand at custom scripting ? I want to call the function get_students below from another function within the same object definition, its not working though, how does one do it.
frappe.ui.form.on("Student GroupKe",
{
onload: function(frm)
{
cur_frm.get_students(); //Is this how to call the function get_students below ?
},
get_students: function(frm)
{
frappe.msgprint(__("test_message"));
}
}
);