Hide the Heading On connection Document

Hello guys

I want to hide the connection document. please help me with this.
I have done this code to hide the connection but the heading of connections is not hidden.

setTimeout(() => {
$(“[data-doctype=‘Maintenance Visit’]”).hide();
}, 10);

Hi @jinsy,

Please try this.

$(".form-link-title").hide();

Thanks.

1 Like

Thanks, It works :grinning:

How can I hide just one Title? $(".form-link-title").hide(); this hides all the headings under connections

1 Like

use parent() to hide just one doctype with title with other doctypes

$("[data-doctype='Inpatient Medication Order']").parent().hide();
1 Like