How to hide a connections in a Doc
you can hide the connections body using below client script
frappe.ui.form.on('Item', {
refresh:function(frm) {
$(".transactions").addClass("hide");
}
})
And also the connections section?
Hi @neha,
Hide the whole connection for please check the syntax.
frappe.ui.form.on('Your DocType', {
refresh: function(frm) {
$('.row.form-dashboard-section.form-links').hide();
}
});
Then reload (Ctrl + Shift + R) and check it.
please set your doctype name in the script accordingly.
Thank You!
3 Likes
Thank you it works!